#232D8A#232D8A

#232D8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.153 H 271.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#232D8A
RGBrgb(35, 45, 138)
HSLhsl(234, 60%, 34%)
HSVhsv(234, 75%, 54%)
CMYKcmyk(74.6%, 67.4%, 0%, 45.9%)
CIE-LABlab(23.90, 29.50, -52.86)
CIE-LCHlch(23.90, 60.53, 299.16°)
OKLaboklab(35.58% 0.0034 -0.1528)
OKLCHoklch(35.58% 0.153 271.3)
XYZxyz(6.2174, 4.0684, 24.4974)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D8A #8A8023
analogous
#23618A #232D8A #4D238A
triadic
#232D8A #8A232D #2D8A23
tetradic
#232D8A #8A2361 #8A8023 #238A4D
square
#232D8A #8A2361 #8A8023 #238A4D
split-complementary
#232D8A #8A4D23 #618A23
monochromatic
#0A0D28 #171D59 #232D8A #2F3DBB #5460D4

Accessibility & contrast

On white

11.58
#232D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#232D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D8A
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D8A#FFFFFF#000000##FFFFFF
##232D8A1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #232d8a;
/* rgb */ color: rgb(35, 45, 138);
/* oklch */ color: oklch(35.6% 0.153 271.3);
Tailwind
colors: {
  custom: {
    50: '#6e66ad',
    500: '#232d8a',
    950: '#000000',
  },
}
SCSS
$custom: #232d8a;
$custom-light: #6e66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#232d8a",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 234.175,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35583,
    "c": 0.15284,
    "h": 271.3
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#232D8A
secondary
#B7AE51
accent
#D345E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #232D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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