#323BB1#323BB1

#323BB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.184 H 272.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#323BB1
RGBrgb(50, 59, 177)
HSLhsl(236, 56%, 45%)
HSVhsv(236, 72%, 69%)
CMYKcmyk(71.8%, 66.7%, 0%, 30.6%)
CIE-LABlab(31.76, 36.41, -63.66)
CIE-LCHlch(31.76, 73.34, 299.77°)
OKLaboklab(42.66% 0.0074 -0.184)
OKLCHoklch(42.66% 0.184 272.3)
XYZxyz(10.8125, 6.9793, 42.3638)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BB1 #B1A832
analogous
#327BB1 #323BB1 #6932B1
triadic
#323BB1 #B1323B #3BB132
tetradic
#323BB1 #B1327B #B1A832 #32B169
square
#323BB1 #B1327B #B1A832 #32B169
split-complementary
#323BB1 #B16932 #7BB132
monochromatic
#171B52 #252B81 #323BB1 #525BCE #8288DC

Accessibility & contrast

On white

8.76
#323BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323BB1
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BB1#FFFFFF#000000##FFFFFF
##323BB11.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323bb1;
/* rgb */ color: rgb(50, 59, 177);
/* oklch */ color: oklch(42.7% 0.184 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c71c9',
    500: '#323bb1',
    950: '#000000',
  },
}
SCSS
$custom: #323bb1;
$custom-light: #7c71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#323bb1",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 235.748,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.18415,
    "h": 272.3
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#323BB1
secondary
#C5C07A
accent
#D549DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #323BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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