#232887#232887

#232887 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.155 H 272.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#232887
RGBrgb(35, 40, 135)
HSLhsl(237, 59%, 33%)
HSVhsv(237, 74%, 53%)
CMYKcmyk(74.1%, 70.4%, 0%, 47.1%)
CIE-LABlab(22.39, 31.66, -53.46)
CIE-LCHlch(22.39, 62.13, 300.63°)
OKLaboklab(34.4% 0.007 -0.1546)
OKLCHoklch(34.4% 0.155 272.6)
XYZxyz(5.8236, 3.6236, 23.3095)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232887 #878223
analogous
#235A87 #232887 #502387
triadic
#232887 #872328 #288723
tetradic
#232887 #87235A #878223 #238750
square
#232887 #87235A #878223 #238750
split-complementary
#232887 #875023 #5A8723
monochromatic
#0A0B26 #161A56 #232887 #3036B8 #5259D2

Accessibility & contrast

On white

12.18
#232887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#232887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232887
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232887#FFFFFF#000000##FFFFFF
##2328871.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232887;
/* rgb */ color: rgb(35, 40, 135);
/* oklch */ color: oklch(34.4% 0.155 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e62ab',
    500: '#232887',
    950: '#000000',
  },
}
SCSS
$custom: #232887;
$custom-light: #6e62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#232887",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 237,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34397,
    "c": 0.15475,
    "h": 272.6
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#232887
secondary
#B6B150
accent
#DA46E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232887

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

Preview Lab → · Contrast checker → · Palette generator →

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