#232D78#232D78

#232D78 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.127 H 271.9°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#232D78
RGBrgb(35, 45, 120)
HSLhsl(233, 55%, 30%)
HSVhsv(233, 71%, 47%)
CMYKcmyk(70.8%, 62.5%, 0%, 52.9%)
CIE-LABlab(22.27, 22.66, -44.18)
CIE-LCHlch(22.27, 49.66, 297.16°)
OKLaboklab(33.88% 0.0043 -0.1274)
OKLCHoklch(33.88% 0.127 271.9)
XYZxyz(5.0205, 3.5897, 18.1940)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D78 #786E23
analogous
#235778 #232D78 #432378
triadic
#232D78 #78232D #2D7823
tetradic
#232D78 #782357 #786E23 #237843
square
#232D78 #782357 #786E23 #237843
split-complementary
#232D78 #784323 #577823
monochromatic
#070919 #151B49 #232D78 #313FA7 #4B5ACA

Accessibility & contrast

On white

12.22
#232D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#232D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D78
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D78#FFFFFF#000000##FFFFFF
##232D781.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232d78;
/* rgb */ color: rgb(35, 45, 120);
/* oklch */ color: oklch(33.9% 0.127 271.9);
Tailwind
colors: {
  custom: {
    50: '#6a65a0',
    500: '#232d78',
    950: '#000000',
  },
}
SCSS
$custom: #232d78;
$custom-light: #6a65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#232d78",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 232.941,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3388,
    "c": 0.12744,
    "h": 271.9
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#232D78
secondary
#ABA04C
accent
#CD4ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #232D78

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

Preview Lab → · Contrast checker → · Palette generator →

#232D78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva