#23208E#23208E

#23208E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.172 H 273.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#23208E
RGBrgb(35, 32, 142)
HSLhsl(242, 63%, 34%)
HSVhsv(242, 77%, 56%)
CMYKcmyk(75.4%, 77.5%, 0%, 44.3%)
CIE-LABlab(21.37, 39.02, -59.51)
CIE-LCHlch(21.37, 71.16, 303.25°)
OKLaboklab(33.89% 0.0102 -0.1722)
OKLCHoklch(33.89% 0.172 273.4)
XYZxyz(6.0905, 3.3427, 25.9102)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23208E #8B8E20
analogous
#20548E #23208E #5A208E
triadic
#23208E #8E2320 #208E23
tetradic
#23208E #8E2054 #8B8E20 #208E5A
square
#23208E #8E2054 #8B8E20 #208E5A
split-complementary
#23208E #8E5A20 #548E20
monochromatic
#0A092A #17155C #23208E #2F2BC0 #5451D8

Accessibility & contrast

On white

12.59
#23208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23208E
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23208E#FFFFFF#000000##FFFFFF
##23208E1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002E8C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23208e;
/* rgb */ color: rgb(35, 32, 142);
/* oklch */ color: oklch(33.9% 0.172 273.4);
Tailwind
colors: {
  custom: {
    50: '#715db0',
    500: '#23208e',
    950: '#000000',
  },
}
SCSS
$custom: #23208e;
$custom-light: #715db0;
$custom-dark: #000000;
JSON
{
  "hex": "#23208e",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 241.636,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3389,
    "c": 0.17248,
    "h": 273.4
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23208E

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

Preview Lab → · Contrast checker → · Palette generator →

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