#323AB4#323AB4

#323AB4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.189 H 272.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#323AB4
RGBrgb(50, 58, 180)
HSLhsl(236, 57%, 45%)
HSVhsv(236, 72%, 71%)
CMYKcmyk(72.2%, 67.8%, 0%, 29.4%)
CIE-LABlab(31.80, 38.08, -65.38)
CIE-LCHlch(31.80, 75.66, 300.22°)
OKLaboklab(42.77% 0.0078 -0.189)
OKLCHoklch(42.77% 0.189 272.4)
XYZxyz(11.0639, 6.9984, 43.9389)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AB4 #B4AC32
analogous
#327BB4 #323AB4 #6B32B4
triadic
#323AB4 #B4323A #3AB432
tetradic
#323AB4 #B4327B #B4AC32 #32B46B
square
#323AB4 #B4327B #B4AC32 #32B46B
split-complementary
#323AB4 #B46B32 #7BB432
monochromatic
#171B54 #252B84 #323AB4 #545BCF #8489DD

Accessibility & contrast

On white

8.75
#323AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#323AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AB4
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AB4#FFFFFF#000000##FFFFFF
##323AB41.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323ab4;
/* rgb */ color: rgb(50, 58, 180);
/* oklch */ color: oklch(42.8% 0.189 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d70cc',
    500: '#323ab4',
    950: '#000000',
  },
}
SCSS
$custom: #323ab4;
$custom-light: #7d70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#323ab4",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 236.308,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42771,
    "c": 0.18917,
    "h": 272.4
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#323AB4
secondary
#C6C27C
accent
#D648E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #323AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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