#323DA8#323DA8

#323DA8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.170 H 272.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#323DA8
RGBrgb(50, 61, 168)
HSLhsl(234, 54%, 43%)
HSVhsv(234, 70%, 66%)
CMYKcmyk(70.2%, 63.7%, 0%, 34.1%)
CIE-LABlab(31.44, 31.93, -58.80)
CIE-LCHlch(31.44, 66.91, 298.50°)
OKLaboklab(42.18% 0.0067 -0.1697)
OKLCHoklch(42.18% 0.17 272.3)
XYZxyz(10.0496, 6.8418, 37.8292)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DA8 #A89D32
analogous
#3278A8 #323DA8 #6232A8
triadic
#323DA8 #A8323D #3DA832
tetradic
#323DA8 #A83278 #A89D32 #32A862
square
#323DA8 #A83278 #A89D32 #32A862
split-complementary
#323DA8 #A86232 #78A832
monochromatic
#161B4A #242C79 #323DA8 #4D59CA #7C85D8

Accessibility & contrast

On white

8.87
#323DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#323DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DA8
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DA8#FFFFFF#000000##FFFFFF
##323DA81.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323da8;
/* rgb */ color: rgb(50, 61, 168);
/* oklch */ color: oklch(42.2% 0.170 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a72c3',
    500: '#323da8',
    950: '#000000',
  },
}
SCSS
$custom: #323da8;
$custom-light: #7a72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#323da8",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 234.407,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.16987,
    "h": 272.3
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#323DA8
secondary
#C1BA75
accent
#D04ADD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #323DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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