#232B8E#232B8E

#232B8E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.161 H 271.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#232B8E
RGBrgb(35, 43, 142)
HSLhsl(236, 60%, 35%)
HSVhsv(236, 75%, 56%)
CMYKcmyk(75.4%, 69.7%, 0%, 44.3%)
CIE-LABlab(23.79, 32.29, -55.51)
CIE-LCHlch(23.79, 64.22, 300.18°)
OKLaboklab(35.63% 0.0043 -0.1606)
OKLCHoklch(35.63% 0.161 271.5)
XYZxyz(6.4378, 4.0374, 26.0260)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232B8E #8E8623
analogous
#23618E #232B8E #51238E
triadic
#232B8E #8E232B #2B8E23
tetradic
#232B8E #8E2361 #8E8623 #238E51
square
#232B8E #8E2361 #8E8623 #238E51
split-complementary
#232B8E #8E5123 #618E23
monochromatic
#0B0D2C #171C5D #232B8E #2F3ABF #5660D5

Accessibility & contrast

On white

11.62
#232B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232B8E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232B8E#FFFFFF#000000##FFFFFF
##232B8E1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #232b8e;
/* rgb */ color: rgb(35, 43, 142);
/* oklch */ color: oklch(35.6% 0.161 271.5);
Tailwind
colors: {
  custom: {
    50: '#6f65b0',
    500: '#232b8e',
    950: '#000000',
  },
}
SCSS
$custom: #232b8e;
$custom-light: #6f65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#232b8e",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 235.514,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35627,
    "c": 0.16063,
    "h": 271.5
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#232B8E
secondary
#B9B253
accent
#D844E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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