#23418A#23418A

#23418A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.127 H 264.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#23418A
RGBrgb(35, 65, 138)
HSLhsl(223, 60%, 34%)
HSVhsv(223, 75%, 54%)
CMYKcmyk(74.6%, 52.9%, 0%, 45.9%)
CIE-LABlab(29.34, 15.82, -43.99)
CIE-LCHlch(29.34, 46.75, 289.78°)
OKLaboklab(39.65% -0.0122 -0.1265)
OKLCHoklch(39.65% 0.127 264.5)
XYZxyz(7.1693, 5.9721, 24.8147)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23418A #8A6C23
analogous
#23758A #23418A #39238A
triadic
#23418A #8A2341 #418A23
tetradic
#23418A #8A2375 #8A6C23 #238A39
square
#23418A #8A2375 #8A6C23 #238A39
split-complementary
#23418A #8A3923 #758A23
monochromatic
#0A1328 #172A59 #23418A #2F58BB #5479D4

Accessibility & contrast

On white

9.57
#23418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#23418A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23418A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23418A#FFFFFF#000000##FFFFFF
##23418A1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #23418a;
/* rgb */ color: rgb(35, 65, 138);
/* oklch */ color: oklch(39.6% 0.127 264.5);
Tailwind
colors: {
  custom: {
    50: '#6d75ad',
    500: '#23418a',
    950: '#000000',
  },
}
SCSS
$custom: #23418a;
$custom-light: #6d75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23418a",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 222.524,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39646,
    "c": 0.12709,
    "h": 264.5
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#23418A
secondary
#B79A51
accent
#B545E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #23418A

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

Preview Lab → · Contrast checker → · Palette generator →

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