#23408C#23408C

#23408C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.131 H 265.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#23408C
RGBrgb(35, 64, 140)
HSLhsl(223, 60%, 34%)
HSVhsv(223, 75%, 55%)
CMYKcmyk(75%, 54.3%, 0%, 45.1%)
CIE-LABlab(29.20, 17.30, -45.45)
CIE-LCHlch(29.20, 48.63, 290.84°)
OKLaboklab(39.59% -0.0111 -0.1308)
OKLCHoklch(39.59% 0.131 265.1)
XYZxyz(7.2585, 5.9168, 25.5654)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23408C #8C6F23
analogous
#23758C #23408C #3B238C
triadic
#23408C #8C2340 #408C23
tetradic
#23408C #8C2375 #8C6F23 #238C3B
square
#23408C #8C2375 #8C6F23 #238C3B
split-complementary
#23408C #8C3B23 #758C23
monochromatic
#0B132A #172A5B #23408C #2F56BD #5578D4

Accessibility & contrast

On white

9.62
#23408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23408C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23408C#FFFFFF#000000##FFFFFF
##23408C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23408c;
/* rgb */ color: rgb(35, 64, 140);
/* oklch */ color: oklch(39.6% 0.131 265.1);
Tailwind
colors: {
  custom: {
    50: '#6d74ae',
    500: '#23408c',
    950: '#000000',
  },
}
SCSS
$custom: #23408c;
$custom-light: #6d74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23408c",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 223.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.13129,
    "h": 265.1
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23408C

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

Preview Lab → · Contrast checker → · Palette generator →

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