#323C8B#323C8B

#323C8B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.131 H 273.4°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#323C8B
RGBrgb(50, 60, 139)
HSLhsl(233, 47%, 37%)
HSVhsv(233, 64%, 55%)
CMYKcmyk(64%, 56.8%, 0%, 45.5%)
CIE-LABlab(28.83, 22.07, -45.39)
CIE-LCHlch(28.83, 50.47, 295.93°)
OKLaboklab(39.51% 0.0078 -0.1303)
OKLCHoklch(39.51% 0.131 273.4)
XYZxyz(7.5899, 5.7733, 25.1355)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C8B #8B8132
analogous
#32698B #323C8B #54328B
triadic
#323C8B #8B323C #3C8B32
tetradic
#323C8B #8B3269 #8B8132 #328B54
square
#323C8B #8B3269 #8B8132 #328B54
split-complementary
#323C8B #8B5432 #698B32
monochromatic
#121531 #22295E #323C8B #424FB8 #6D77CA

Accessibility & contrast

On white

9.75
#323C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#323C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C8B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C8B#FFFFFF#000000##FFFFFF
##323C8B1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323c8b;
/* rgb */ color: rgb(50, 60, 139);
/* oklch */ color: oklch(39.5% 0.131 273.4);
Tailwind
colors: {
  custom: {
    50: '#7471ad',
    500: '#323c8b',
    950: '#000000',
  },
}
SCSS
$custom: #323c8b;
$custom-light: #7471ad;
$custom-dark: #000000;
JSON
{
  "hex": "#323c8b",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 233.258,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.13058,
    "h": 273.4
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#323C8B
secondary
#B2AA67
accent
#C851D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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