#23408E#23408E

#23408E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.134 H 265.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#23408E
RGBrgb(35, 64, 142)
HSLhsl(224, 60%, 35%)
HSVhsv(224, 75%, 56%)
CMYKcmyk(75.4%, 54.9%, 0%, 44.3%)
CIE-LABlab(29.35, 18.09, -46.44)
CIE-LCHlch(29.35, 49.84, 291.28°)
OKLaboklab(39.75% -0.011 -0.1337)
OKLCHoklch(39.75% 0.134 265.3)
XYZxyz(7.4073, 5.9763, 26.3491)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23408E #8E7123
analogous
#23768E #23408E #3B238E
triadic
#23408E #8E2340 #408E23
tetradic
#23408E #8E2376 #8E7123 #238E3B
square
#23408E #8E2376 #8E7123 #238E3B
split-complementary
#23408E #8E3B23 #768E23
monochromatic
#0B142C #172A5D #23408E #2F56BF #5679D5

Accessibility & contrast

On white

9.57
#23408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#23408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23408E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23408E#FFFFFF#000000##FFFFFF
##23408E1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #23408e;
/* rgb */ color: rgb(35, 64, 142);
/* oklch */ color: oklch(39.7% 0.134 265.3);
Tailwind
colors: {
  custom: {
    50: '#6e74b0',
    500: '#23408e',
    950: '#000000',
  },
}
SCSS
$custom: #23408e;
$custom-light: #6e74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23408e",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 223.738,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39749,
    "c": 0.13417,
    "h": 265.3
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#23408E
secondary
#B99E53
accent
#B844E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #23408E

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

Preview Lab → · Contrast checker → · Palette generator →

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