#232989#232989

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

Color values

HEX#232989
RGBrgb(35, 41, 137)
HSLhsl(236, 59%, 34%)
HSVhsv(236, 74%, 54%)
CMYKcmyk(74.5%, 70.1%, 0%, 46.3%)
CIE-LABlab(22.82, 31.75, -53.99)
CIE-LCHlch(22.82, 62.63, 300.45°)
OKLaboklab(34.77% 0.0061 -0.1561)
OKLCHoklch(34.77% 0.156 272.2)
XYZxyz(5.9999, 3.7487, 24.0694)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232989 #898323
analogous
#235C89 #232989 #502389
triadic
#232989 #892329 #298923
tetradic
#232989 #89235C #898323 #238950
square
#232989 #89235C #898323 #238950
split-complementary
#232989 #895023 #5C8923
monochromatic
#0A0C28 #171A58 #232989 #2F38BA #535BD3

Accessibility & contrast

On white

12.00
#232989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#232989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232989
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232989#FFFFFF#000000##FFFFFF
##2329891.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232989;
/* rgb */ color: rgb(35, 41, 137);
/* oklch */ color: oklch(34.8% 0.156 272.2);
Tailwind
colors: {
  custom: {
    50: '#6e63ac',
    500: '#232989',
    950: '#000000',
  },
}
SCSS
$custom: #232989;
$custom-light: #6e63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#232989",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 236.471,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34773,
    "c": 0.15626,
    "h": 272.2
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#232989
secondary
#B7B151
accent
#D945E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232989

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

Preview Lab → · Contrast checker → · Palette generator →

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