#323B9F#323B9F

#323B9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.160 H 273.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#323B9F
RGBrgb(50, 59, 159)
HSLhsl(235, 52%, 41%)
HSVhsv(235, 69%, 62%)
CMYKcmyk(68.6%, 62.9%, 0%, 37.6%)
CIE-LABlab(30.18, 29.99, -55.44)
CIE-LCHlch(30.18, 63.03, 298.41°)
OKLaboklab(41.01% 0.0086 -0.1599)
OKLCHoklch(41.01% 0.16 273.1)
XYZxyz(9.1353, 6.3084, 33.5304)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B9F #9F9632
analogous
#32719F #323B9F #5F329F
triadic
#323B9F #9F323B #3B9F32
tetradic
#323B9F #9F3271 #9F9632 #329F5F
square
#323B9F #9F3271 #9F9632 #329F5F
split-complementary
#323B9F #9F5F32 #719F32
monochromatic
#151842 #232A70 #323B9F #4953C6 #777FD4

Accessibility & contrast

On white

9.28
#323B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#323B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B9F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B9F#FFFFFF#000000##FFFFFF
##323B9F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323b9f;
/* rgb */ color: rgb(50, 59, 159);
/* oklch */ color: oklch(41.0% 0.160 273.1);
Tailwind
colors: {
  custom: {
    50: '#7871bc',
    500: '#323b9f',
    950: '#000000',
  },
}
SCSS
$custom: #323b9f;
$custom-light: #7871bc;
$custom-dark: #000000;
JSON
{
  "hex": "#323b9f",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 159
  },
  "hsl": {
    "h": 235.046,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41009,
    "c": 0.16014,
    "h": 273.1
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#323B9F
secondary
#BDB670
accent
#D04CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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