#232589#232589

#232589 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.161 H 273.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#232589
RGBrgb(35, 37, 137)
HSLhsl(239, 59%, 34%)
HSVhsv(239, 74%, 54%)
CMYKcmyk(74.5%, 73%, 0%, 46.3%)
CIE-LABlab(21.89, 34.29, -55.52)
CIE-LCHlch(21.89, 65.26, 301.70°)
OKLaboklab(34.1% 0.0085 -0.1606)
OKLCHoklch(34.1% 0.161 273)
XYZxyz(5.8685, 3.4860, 24.0256)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232589 #898723
analogous
#235889 #232589 #542389
triadic
#232589 #892325 #258923
tetradic
#232589 #892358 #898723 #238954
square
#232589 #892358 #898723 #238954
split-complementary
#232589 #895423 #588923
monochromatic
#0A0B28 #171858 #232589 #2F32BA #5356D3

Accessibility & contrast

On white

12.37
#232589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#232589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232589
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232589#FFFFFF#000000##FFFFFF
##2325891.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232589;
/* rgb */ color: rgb(35, 37, 137);
/* oklch */ color: oklch(34.1% 0.161 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f60ac',
    500: '#232589',
    950: '#000000',
  },
}
SCSS
$custom: #232589;
$custom-light: #6f60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#232589",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 238.824,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34104,
    "c": 0.16083,
    "h": 273
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#232589
secondary
#B7B551
accent
#DF45E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232589

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

Preview Lab → · Contrast checker → · Palette generator →

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