#232489#232489

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

Color values

HEX#232489
RGBrgb(35, 36, 137)
HSLhsl(239, 59%, 34%)
HSVhsv(239, 74%, 54%)
CMYKcmyk(74.5%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.67, 34.91, -55.89)
CIE-LCHlch(21.67, 65.90, 301.99°)
OKLaboklab(33.94% 0.0091 -0.1617)
OKLCHoklch(33.94% 0.162 273.2)
XYZxyz(5.8379, 3.4246, 24.0154)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232489 #898823
analogous
#235789 #232489 #552389
triadic
#232489 #892324 #248923
tetradic
#232489 #892357 #898823 #238955
square
#232489 #892357 #898823 #238955
split-complementary
#232489 #895523 #578923
monochromatic
#0A0A28 #171758 #232489 #2F31BA #5355D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##232489#FFFFFF#000000##FFFFFF
##2324891.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)
#00398C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232489;
/* rgb */ color: rgb(35, 36, 137);
/* oklch */ color: oklch(33.9% 0.162 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f60ac',
    500: '#232489',
    950: '#000000',
  },
}
SCSS
$custom: #232489;
$custom-light: #6f60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#232489",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 239.412,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33944,
    "c": 0.16192,
    "h": 273.2
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#232489
secondary
#B7B651
accent
#E145E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232489

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

Preview Lab → · Contrast checker → · Palette generator →

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