#23408B#23408B

#23408B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.130 H 265.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#23408B
RGBrgb(35, 64, 139)
HSLhsl(223, 60%, 34%)
HSVhsv(223, 75%, 55%)
CMYKcmyk(74.8%, 54%, 0%, 45.5%)
CIE-LABlab(29.13, 16.90, -44.95)
CIE-LCHlch(29.13, 48.03, 290.61°)
OKLaboklab(39.51% -0.0112 -0.1294)
OKLCHoklch(39.51% 0.13 265)
XYZxyz(7.1851, 5.8874, 25.1788)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23408B #8B6E23
analogous
#23748B #23408B #3A238B
triadic
#23408B #8B2340 #408B23
tetradic
#23408B #8B2374 #8B6E23 #238B3A
square
#23408B #8B2374 #8B6E23 #238B3A
split-complementary
#23408B #8B3A23 #748B23
monochromatic
#0A1329 #17295A #23408B #2F57BC #5478D4

Accessibility & contrast

On white

9.64
#23408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#23408B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23408B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23408B#FFFFFF#000000##FFFFFF
##23408B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8E
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #23408b;
/* rgb */ color: rgb(35, 64, 139);
/* oklch */ color: oklch(39.5% 0.130 265.0);
Tailwind
colors: {
  custom: {
    50: '#6d74ad',
    500: '#23408b',
    950: '#000000',
  },
}
SCSS
$custom: #23408b;
$custom-light: #6d74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23408b",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 223.269,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39506,
    "c": 0.12985,
    "h": 265
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#23408B
secondary
#B89B52
accent
#B745E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #23408B

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

Preview Lab → · Contrast checker → · Palette generator →

#23408B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva