#23208D#23208D

#23208D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.171 H 273.5°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#23208D
RGBrgb(35, 32, 141)
HSLhsl(242, 63%, 34%)
HSVhsv(242, 77%, 55%)
CMYKcmyk(75.2%, 77.3%, 0%, 44.7%)
CIE-LABlab(21.26, 38.68, -59.07)
CIE-LCHlch(21.26, 70.61, 303.21°)
OKLaboklab(33.78% 0.0104 -0.1709)
OKLCHoklch(33.78% 0.171 273.5)
XYZxyz(6.0158, 3.3128, 25.5165)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23208D #8A8D20
analogous
#20548D #23208D #5A208D
triadic
#23208D #8D2320 #208D23
tetradic
#23208D #8D2054 #8A8D20 #208D5A
square
#23208D #8D2054 #8A8D20 #208D5A
split-complementary
#23208D #8D5A20 #548D20
monochromatic
#0A0929 #17155B #23208D #2F2BBF #5450D7

Accessibility & contrast

On white

12.63
#23208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#23208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23208D
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23208D#FFFFFF#000000##FFFFFF
##23208D1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23208d;
/* rgb */ color: rgb(35, 32, 141);
/* oklch */ color: oklch(33.8% 0.171 273.5);
Tailwind
colors: {
  custom: {
    50: '#705db0',
    500: '#23208d',
    950: '#000000',
  },
}
SCSS
$custom: #23208d;
$custom-light: #705db0;
$custom-dark: #000000;
JSON
{
  "hex": "#23208d",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 241.651,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33778,
    "c": 0.17123,
    "h": 273.5
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#23208D
secondary
#B7BA4E
accent
#E642E2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #23208D

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

Preview Lab → · Contrast checker → · Palette generator →

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