#232988#232988

#232988 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.155 H 272.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#232988
RGBrgb(35, 41, 136)
HSLhsl(236, 59%, 34%)
HSVhsv(236, 74%, 53%)
CMYKcmyk(74.3%, 69.9%, 0%, 46.7%)
CIE-LABlab(22.72, 31.38, -53.53)
CIE-LCHlch(22.72, 62.05, 300.38°)
OKLaboklab(34.67% 0.0062 -0.1548)
OKLCHoklch(34.67% 0.155 272.3)
XYZxyz(5.9285, 3.7202, 23.6934)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232988 #888223
analogous
#235B88 #232988 #4F2388
triadic
#232988 #882329 #298823
tetradic
#232988 #88235B #888223 #23884F
square
#232988 #88235B #888223 #23884F
split-complementary
#232988 #884F23 #5B8823
monochromatic
#0A0C27 #161A57 #232988 #3038B9 #535AD3

Accessibility & contrast

On white

12.04
#232988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#232988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232988
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232988#FFFFFF#000000##FFFFFF
##2329881.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232988;
/* rgb */ color: rgb(35, 41, 136);
/* oklch */ color: oklch(34.7% 0.155 272.3);
Tailwind
colors: {
  custom: {
    50: '#6e63ac',
    500: '#232988',
    950: '#000000',
  },
}
SCSS
$custom: #232988;
$custom-light: #6e63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#232988",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 236.436,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.15491,
    "h": 272.3
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#232988
secondary
#B7B050
accent
#D946E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232988

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

Preview Lab → · Contrast checker → · Palette generator →

#232988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva