#323E9D#323E9D

#323E9D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.154 H 272.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#323E9D
RGBrgb(50, 62, 157)
HSLhsl(233, 52%, 41%)
HSVhsv(233, 68%, 62%)
CMYKcmyk(68.2%, 60.5%, 0%, 38.4%)
CIE-LABlab(30.78, 27.30, -53.25)
CIE-LCHlch(30.78, 59.84, 297.14°)
OKLaboklab(41.4% 0.0062 -0.1534)
OKLCHoklch(41.4% 0.154 272.3)
XYZxyz(9.1218, 6.5568, 32.6766)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323E9D #9D9132
analogous
#32739D #323E9D #5B329D
triadic
#323E9D #9D323E #3E9D32
tetradic
#323E9D #9D3273 #9D9132 #329D5B
square
#323E9D #9D3273 #9D9132 #329D5B
split-complementary
#323E9D #9D5B32 #739D32
monochromatic
#141940 #232C6F #323E9D #4856C5 #7680D3

Accessibility & contrast

On white

9.08
#323E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#323E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323E9D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323E9D#FFFFFF#000000##FFFFFF
##323E9D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323e9d;
/* rgb */ color: rgb(50, 62, 157);
/* oklch */ color: oklch(41.4% 0.154 272.3);
Tailwind
colors: {
  custom: {
    50: '#7773bb',
    500: '#323e9d',
    950: '#000000',
  },
}
SCSS
$custom: #323e9d;
$custom-light: #7773bb;
$custom-dark: #000000;
JSON
{
  "hex": "#323e9d",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 233.271,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41399,
    "c": 0.15358,
    "h": 272.3
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#323E9D
secondary
#BCB36F
accent
#CB4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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