#232888#232888

#232888 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.156 H 272.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#232888
RGBrgb(35, 40, 136)
HSLhsl(237, 59%, 34%)
HSVhsv(237, 74%, 53%)
CMYKcmyk(74.3%, 70.6%, 0%, 46.7%)
CIE-LABlab(22.49, 32.03, -53.92)
CIE-LCHlch(22.49, 62.72, 300.71°)
OKLaboklab(34.5% 0.0069 -0.1559)
OKLCHoklch(34.5% 0.156 272.5)
XYZxyz(5.8944, 3.6519, 23.6820)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232888 #888323
analogous
#235A88 #232888 #502388
triadic
#232888 #882328 #288823
tetradic
#232888 #88235A #888323 #238850
square
#232888 #88235A #888323 #238850
split-complementary
#232888 #885023 #5A8823
monochromatic
#0A0B27 #161A57 #232888 #3036B9 #5359D3

Accessibility & contrast

On white

12.14
#232888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232888
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232888#FFFFFF#000000##FFFFFF
##2328881.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232888;
/* rgb */ color: rgb(35, 40, 136);
/* oklch */ color: oklch(34.5% 0.156 272.5);
Tailwind
colors: {
  custom: {
    50: '#6e62ac',
    500: '#232888',
    950: '#000000',
  },
}
SCSS
$custom: #232888;
$custom-light: #6e62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#232888",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 237.03,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34499,
    "c": 0.15609,
    "h": 272.5
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232888

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

Preview Lab → · Contrast checker → · Palette generator →

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