#232987#232987

#232987 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.154 H 272.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#232987
RGBrgb(35, 41, 135)
HSLhsl(236, 59%, 33%)
HSVhsv(236, 74%, 53%)
CMYKcmyk(74.1%, 69.6%, 0%, 47.1%)
CIE-LABlab(22.63, 31.01, -53.07)
CIE-LCHlch(22.63, 61.46, 300.30°)
OKLaboklab(34.57% 0.0063 -0.1534)
OKLCHoklch(34.57% 0.154 272.4)
XYZxyz(5.8578, 3.6919, 23.3209)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232987 #878123
analogous
#235B87 #232987 #4F2387
triadic
#232987 #872329 #298723
tetradic
#232987 #87235B #878123 #23874F
square
#232987 #87235B #878123 #23874F
split-complementary
#232987 #874F23 #5B8723
monochromatic
#0A0B26 #161A56 #232987 #3038B8 #525AD2

Accessibility & contrast

On white

12.08
#232987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232987
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232987#FFFFFF#000000##FFFFFF
##2329871.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232987;
/* rgb */ color: rgb(35, 41, 135);
/* oklch */ color: oklch(34.6% 0.154 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e63ab',
    500: '#232987',
    950: '#000000',
  },
}
SCSS
$custom: #232987;
$custom-light: #6e63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#232987",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 236.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3457,
    "c": 0.15356,
    "h": 272.4
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232987

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

Preview Lab → · Contrast checker → · Palette generator →

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