#232D8E#232D8E

#232D8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.158 H 271.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#232D8E
RGBrgb(35, 45, 142)
HSLhsl(234, 60%, 35%)
HSVhsv(234, 75%, 56%)
CMYKcmyk(75.4%, 68.3%, 0%, 44.3%)
CIE-LABlab(24.28, 30.98, -54.72)
CIE-LCHlch(24.28, 62.88, 299.52°)
OKLaboklab(35.98% 0.0031 -0.1582)
OKLCHoklch(35.98% 0.158 271.1)
XYZxyz(6.5123, 4.1864, 26.0508)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D8E #8E8423
analogous
#23628E #232D8E #4F238E
triadic
#232D8E #8E232D #2D8E23
tetradic
#232D8E #8E2362 #8E8423 #238E4F
square
#232D8E #8E2362 #8E8423 #238E4F
split-complementary
#232D8E #8E4F23 #628E23
monochromatic
#0B0E2C #171D5D #232D8E #2F3DBF #5662D5

Accessibility & contrast

On white

11.43
#232D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#232D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D8E
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D8E#FFFFFF#000000##FFFFFF
##232D8E1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #232d8e;
/* rgb */ color: rgb(35, 45, 142);
/* oklch */ color: oklch(36.0% 0.158 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f66b0',
    500: '#232d8e',
    950: '#000000',
  },
}
SCSS
$custom: #232d8e;
$custom-light: #6f66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#232d8e",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 234.393,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35978,
    "c": 0.15827,
    "h": 271.1
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#232D8E
secondary
#B9B053
accent
#D544E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #232D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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