#232588#232588

#232588 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.160 H 273.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#232588
RGBrgb(35, 37, 136)
HSLhsl(239, 59%, 34%)
HSVhsv(239, 74%, 53%)
CMYKcmyk(74.3%, 72.8%, 0%, 46.7%)
CIE-LABlab(21.79, 33.93, -55.07)
CIE-LCHlch(21.79, 64.68, 301.64°)
OKLaboklab(34% 0.0087 -0.1593)
OKLCHoklch(34% 0.16 273.1)
XYZxyz(5.7971, 3.4575, 23.6496)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232588 #888623
analogous
#235788 #232588 #532388
triadic
#232588 #882325 #258823
tetradic
#232588 #882357 #888623 #238853
square
#232588 #882357 #888623 #238853
split-complementary
#232588 #885323 #578823
monochromatic
#0A0B27 #161857 #232588 #3032B9 #5355D3

Accessibility & contrast

On white

12.41
#232588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#232588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232588
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232588#FFFFFF#000000##FFFFFF
##2325881.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232588;
/* rgb */ color: rgb(35, 37, 136);
/* oklch */ color: oklch(34.0% 0.160 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f60ac',
    500: '#232588',
    950: '#000000',
  },
}
SCSS
$custom: #232588;
$custom-light: #6f60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#232588",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 238.812,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33998,
    "c": 0.15951,
    "h": 273.1
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#232588
secondary
#B7B450
accent
#DF46E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232588

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

Preview Lab → · Contrast checker → · Palette generator →

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