#23408F#23408F

#23408F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.136 H 265.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#23408F
RGBrgb(35, 64, 143)
HSLhsl(224, 61%, 35%)
HSVhsv(224, 76%, 56%)
CMYKcmyk(75.5%, 55.2%, 0%, 43.9%)
CIE-LABlab(29.43, 18.48, -46.93)
CIE-LCHlch(29.43, 50.44, 291.49°)
OKLaboklab(39.83% -0.0109 -0.1352)
OKLCHoklch(39.83% 0.136 265.4)
XYZxyz(7.4827, 6.0065, 26.7463)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23408F #8F7223
analogous
#23768F #23408F #3C238F
triadic
#23408F #8F2340 #408F23
tetradic
#23408F #8F2376 #8F7223 #238F3C
square
#23408F #8F2376 #8F7223 #238F3C
split-complementary
#23408F #8F3C23 #768F23
monochromatic
#0B142D #172A5E #23408F #2F56C0 #5779D6

Accessibility & contrast

On white

9.54
#23408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23408F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23408F#FFFFFF#000000##FFFFFF
##23408F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #23408f;
/* rgb */ color: rgb(35, 64, 143);
/* oklch */ color: oklch(39.8% 0.136 265.4);
Tailwind
colors: {
  custom: {
    50: '#6e74b0',
    500: '#23408f',
    950: '#000000',
  },
}
SCSS
$custom: #23408f;
$custom-light: #6e74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23408f",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 223.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39831,
    "c": 0.13561,
    "h": 265.4
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#23408F
secondary
#BA9F54
accent
#B944E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #23408F

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

Preview Lab → · Contrast checker → · Palette generator →

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