#323EAF#323EAF

#323EAF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.178 H 271.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#323EAF
RGBrgb(50, 62, 175)
HSLhsl(234, 56%, 44%)
HSVhsv(234, 71%, 69%)
CMYKcmyk(71.4%, 64.6%, 0%, 31.4%)
CIE-LABlab(32.30, 33.80, -61.59)
CIE-LCHlch(32.30, 70.26, 298.76°)
OKLaboklab(42.99% 0.0056 -0.1779)
OKLCHoklch(42.99% 0.178 271.8)
XYZxyz(10.7733, 7.2174, 41.3745)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EAF #AFA332
analogous
#327DAF #323EAF #6532AF
triadic
#323EAF #AF323E #3EAF32
tetradic
#323EAF #AF327D #AFA332 #32AF65
square
#323EAF #AF327D #AFA332 #32AF65
split-complementary
#323EAF #AF6532 #7DAF32
monochromatic
#171C50 #242D7F #323EAF #515DCD #8189DB

Accessibility & contrast

On white

8.59
#323EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#323EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EAF
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EAF#FFFFFF#000000##FFFFFF
##323EAF1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #323eaf;
/* rgb */ color: rgb(50, 62, 175);
/* oklch */ color: oklch(43.0% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#7b73c8',
    500: '#323eaf',
    950: '#000000',
  },
}
SCSS
$custom: #323eaf;
$custom-light: #7b73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#323eaf",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 234.24,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.17801,
    "h": 271.8
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#323EAF
secondary
#C4BD79
accent
#D049DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323EAF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#323EAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva