Skip to content

#324eee

a balanced, electric blue · cool · closest name: Slate Blue

RGB
50, 78, 238
HSL
231°, 85%, 57%
CMYK
79, 67, 0, 7
Luminance
0.1230

At a glance

Every number on this page in one read: what #324eee is made of, how bright it looks, and which way it leans.

Hex
#324eee
Hue
231°
blue
Saturation
85%
electric
Lightness
57%
balanced
Brightness
93%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1230
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.07:1
Closest name
Slate Blue
ΔE2000 7.8
Where it sits
Hue231° of 360°
Saturation85%
Lightness57%
Temperature
Warm ← → Cool88% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#324eee
RGBrgb(50, 78, 238)
HSLhsl(231, 85%, 57%)
CMYKcmyk(79%, 67%, 0%, 7%)
LABlab(41.7 46.1 -82.7)
LCHlch(41.7 94.7 299.1)
OKLCHoklch(0.516 0.240 268.2)
Decimal3297006
Display P3color(display-p3 0.196 0.306 0.933)

Copy-ready code

/* CSS */
color: #324eee;
background-color: #324eee;
/* Tailwind (arbitrary) */
class="text-[#324eee] bg-[#324eee]"
/* SCSS */
$brand: #324eee;
/* SwiftUI */
Color(red: 0.196, green: 0.306, blue: 0.933)
/* Android */
Color.parseColor("#324eee")
/* Flutter */
Color(0xFF324EEE)
/* Python / OpenCV (BGR) */
(238, 78, 50)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #324eee · 6.07:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.07:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.46:1
AA fail · AA large pass · AAA fail
Reading the other direction: #324eee as text scores 6.07:1 on white and 3.46:1 on black.

Accessibility — WCAG contrast

Aa
#324eee on white: 6.07:1
AA ✓ pass · AA-large · AAA
Aa
#324eee on black: 3.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006BF3
deuteranopia · #0059EB
tritanopia · #007A98

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #324eee is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2F4FC
#E5E9FA
#C5CCF7
#97A5F6
#6479F2
#324eee
#1331E2
#1029BC
#0C2197
#0E1C6D
#081144
Base = 500Lightest = 50 · #F2F4FCDarkest = 950 · #081144
:root {
  --brand-50: #F2F4FC;
  --brand-100: #E5E9FA;
  --brand-200: #C5CCF7;
  --brand-300: #97A5F6;
  --brand-400: #6479F2;
  --brand-500: #324eee;
  --brand-600: #1331E2;
  --brand-700: #1029BC;
  --brand-800: #0C2197;
  --brand-900: #0E1C6D;
  --brand-950: #081144;
  --brand: #324eee;
  --brand-ink: #ffffff;
}

Colors that work with #324eee

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F5FA
Tinted page background
Border#C0C6ED
Hairlines and dividers
Muted text#4B579B
Captions on the surface
Accent#C0780C
Second voice, not a rival
Dark variant#0A1A76
Hover, pressed, headers
Light variant#E7EBFD
Selected rows, tints
Dark surface#141624
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #324eee

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#EED232
Analogous left#32ACEE
Analogous right#7432EE
Split-complement 1#EE7432
Split-complement 2#ACEE32
Triadic 1#EE324E
Triadic 2#4EEE32
Tetradic#EE32AC

RGB percentages

Red19.6%
Green30.6%
Blue93.3%

CMYK percentages

Cyan79.0%
Magenta67.2%
Yellow0.0%
Key (black)6.7%

Color previews

#324eee text on a black background

contrast 3.46:1

Card sample

#324eee text on a white background

contrast 6.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #324eee;
Background color
Panel with #324eee background
background-color: #324eee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #324eee;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(50, 78, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 78, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #324eee;
background: linear-gradient(135deg, #324eee, #9432EE);

Monochromatic scale

Palettes built from #324eee

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#324eee in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#324eee, answered

What color is #324eee?

#324eee is a balanced electric blue, closest to Slate Blue (ΔE2000 7.8). It sits at 231° on the hue wheel with 85% saturation and 57% lightness, which reads as cool.

What is the RGB value of #324eee?

rgb(50, 78, 238) — 50 red, 78 green and 238 blue out of 255, or 19.6% / 30.6% / 93.3% by channel.

Is #324eee a light or a dark color?

It is a dark color. Relative luminance is 0.1230 and perceived brightness is 41%, so white text on it reaches 6.07:1.

Should I use black or white text on #324eee?

White. It scores 6.07:1 against #324eee, versus 3.46:1 for black — AA at any size.

What is the complementary color of #324eee?

#EED232 sits directly opposite on the wheel. Softer options are the split-complements #EE7432 and #ACEE32, which give the same contrast with far less vibration.

What colors go well with #324eee?

For interface work: #F4F5FA as the surface, #C0C6ED for borders, #4B579B for secondary text, #C0780C as an accent and #0A1A76 for hover and pressed states. For a palette, the analogous pair #32ACEE and #7432EE stays calm, while #EED232 is the loudest partner.

What is #324eee in CMYK for printing?

cmyk(79%, 67%, 0%, 7%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #324eee warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5B32EE; nudged cooler, #306CF0.

Work with #324eee in the Color Lab