#23417C#23417C

#23417C is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.106 H 262.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#23417C
RGBrgb(35, 65, 124)
HSLhsl(220, 56%, 31%)
HSVhsv(220, 72%, 49%)
CMYKcmyk(71.8%, 47.6%, 0%, 51.4%)
CIE-LABlab(28.36, 10.28, -36.86)
CIE-LCHlch(28.36, 38.27, 285.59°)
OKLaboklab(38.58% -0.0143 -0.1055)
OKLCHoklch(38.58% 0.106 262.3)
XYZxyz(6.2202, 5.5925, 19.8165)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23417C #7C5E23
analogous
#236D7C #23417C #31237C
triadic
#23417C #7C2341 #417C23
tetradic
#23417C #7C236D #7C5E23 #237C31
square
#23417C #7C236D #7C5E23 #237C31
split-complementary
#23417C #7C3123 #6D7C23
monochromatic
#080F1D #16284C #23417C #305AAC #4D78CD

Accessibility & contrast

On white

9.91
#23417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#23417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23417C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23417C#FFFFFF#000000##FFFFFF
##23417C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#113F7B
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #23417c;
/* rgb */ color: rgb(35, 65, 124);
/* oklch */ color: oklch(38.6% 0.106 262.3);
Tailwind
colors: {
  custom: {
    50: '#6975a2',
    500: '#23417c',
    950: '#000000',
  },
}
SCSS
$custom: #23417c;
$custom-light: #6975a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23417c",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 219.775,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38581,
    "c": 0.10647,
    "h": 262.3
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#23417C
secondary
#AF8D4C
accent
#AC49DF
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #23417C

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

Preview Lab → · Contrast checker → · Palette generator →

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