#232587#232587

#232587 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.158 H 273.2°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#232587
RGBrgb(35, 37, 135)
HSLhsl(239, 59%, 33%)
HSVhsv(239, 74%, 53%)
CMYKcmyk(74.1%, 72.6%, 0%, 47.1%)
CIE-LABlab(21.69, 33.57, -54.61)
CIE-LCHlch(21.69, 64.10, 301.58°)
OKLaboklab(33.89% 0.0088 -0.1579)
OKLCHoklch(33.89% 0.158 273.2)
XYZxyz(5.7264, 3.4292, 23.2771)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232587 #878523
analogous
#235787 #232587 #532387
triadic
#232587 #872325 #258723
tetradic
#232587 #872357 #878523 #238753
square
#232587 #872357 #878523 #238753
split-complementary
#232587 #875323 #578723
monochromatic
#0A0A26 #161856 #232587 #3032B8 #5255D2

Accessibility & contrast

On white

12.46
#232587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232587
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232587#FFFFFF#000000##FFFFFF
##2325871.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232587;
/* rgb */ color: rgb(35, 37, 135);
/* oklch */ color: oklch(33.9% 0.158 273.2);
Tailwind
colors: {
  custom: {
    50: '#6e60ab',
    500: '#232587',
    950: '#000000',
  },
}
SCSS
$custom: #232587;
$custom-light: #6e60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#232587",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 238.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33893,
    "c": 0.15819,
    "h": 273.2
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232587

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

Preview Lab → · Contrast checker → · Palette generator →

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