#23408A#23408A

#23408A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.128 H 264.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#23408A
RGBrgb(35, 64, 138)
HSLhsl(223, 60%, 34%)
HSVhsv(223, 75%, 54%)
CMYKcmyk(74.6%, 53.6%, 0%, 45.9%)
CIE-LABlab(29.05, 16.51, -44.46)
CIE-LCHlch(29.05, 47.42, 290.37°)
OKLaboklab(39.43% -0.0114 -0.1279)
OKLCHoklch(39.43% 0.128 264.9)
XYZxyz(7.1124, 5.8583, 24.7958)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23408A #8A6D23
analogous
#23748A #23408A #3A238A
triadic
#23408A #8A2340 #408A23
tetradic
#23408A #8A2374 #8A6D23 #238A3A
square
#23408A #8A2374 #8A6D23 #238A3A
split-complementary
#23408A #8A3A23 #748A23
monochromatic
#0A1328 #172959 #23408A #2F57BB #5478D4

Accessibility & contrast

On white

9.67
#23408A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#23408A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23408A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23408A#FFFFFF#000000##FFFFFF
##23408A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E498D
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #23408a;
/* rgb */ color: rgb(35, 64, 138);
/* oklch */ color: oklch(39.4% 0.128 264.9);
Tailwind
colors: {
  custom: {
    50: '#6d74ad',
    500: '#23408a',
    950: '#000000',
  },
}
SCSS
$custom: #23408a;
$custom-light: #6d74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23408a",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 223.107,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39426,
    "c": 0.12839,
    "h": 264.9
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#23408A
secondary
#B79B51
accent
#B645E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #23408A

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

Preview Lab → · Contrast checker → · Palette generator →

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