#232189#232189

#232189 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.165 H 273.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#232189
RGBrgb(35, 33, 137)
HSLhsl(241, 61%, 33%)
HSVhsv(241, 76%, 54%)
CMYKcmyk(74.5%, 75.9%, 0%, 46.3%)
CIE-LABlab(21.02, 36.72, -56.96)
CIE-LCHlch(21.02, 67.77, 302.81°)
OKLaboklab(33.48% 0.0107 -0.1648)
OKLCHoklch(33.48% 0.165 273.7)
XYZxyz(5.7508, 3.2506, 23.9864)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232189 #878921
analogous
#215389 #232189 #572189
triadic
#232189 #892321 #218923
tetradic
#232189 #892153 #878921 #218957
square
#232189 #892153 #878921 #218957
split-complementary
#232189 #895721 #538921
monochromatic
#0A0926 #161558 #232189 #302DBA #5250D5

Accessibility & contrast

On white

12.73
#232189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#232189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232189
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232189#FFFFFF#000000##FFFFFF
##2321891.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232189;
/* rgb */ color: rgb(35, 33, 137);
/* oklch */ color: oklch(33.5% 0.165 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f5ead',
    500: '#232189',
    950: '#000000',
  },
}
SCSS
$custom: #232189;
$custom-light: #6f5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#232189",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 241.154,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33481,
    "c": 0.16513,
    "h": 273.7
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#232189
secondary
#B6B84E
accent
#E444E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #232189

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

Preview Lab → · Contrast checker → · Palette generator →

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