#23208F#23208F

#23208F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.174 H 273.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#23208F
RGBrgb(35, 32, 143)
HSLhsl(242, 63%, 34%)
HSVhsv(242, 78%, 56%)
CMYKcmyk(75.5%, 77.6%, 0%, 43.9%)
CIE-LABlab(21.48, 39.36, -59.95)
CIE-LCHlch(21.48, 71.71, 303.28°)
OKLaboklab(34% 0.01 -0.1734)
OKLCHoklch(34% 0.174 273.3)
XYZxyz(6.1659, 3.3729, 26.3074)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23208F #8C8F20
analogous
#20548F #23208F #5B208F
triadic
#23208F #8F2320 #208F23
tetradic
#23208F #8F2054 #8C8F20 #208F5B
square
#23208F #8F2054 #8C8F20 #208F5B
split-complementary
#23208F #8F5B20 #548F20
monochromatic
#0B0A2B #17155D #23208F #2F2BC1 #5551D8

Accessibility & contrast

On white

12.54
#23208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#23208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23208F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23208F#FFFFFF#000000##FFFFFF
##23208F1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23208f;
/* rgb */ color: rgb(35, 32, 143);
/* oklch */ color: oklch(34.0% 0.174 273.3);
Tailwind
colors: {
  custom: {
    50: '#715db1',
    500: '#23208f',
    950: '#000000',
  },
}
SCSS
$custom: #23208f;
$custom-light: #715db1;
$custom-dark: #000000;
JSON
{
  "hex": "#23208f",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 241.622,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34003,
    "c": 0.17374,
    "h": 273.3
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#23208F
secondary
#B8BB4F
accent
#E641E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #23208F

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

Preview Lab → · Contrast checker → · Palette generator →

#23208F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva