#24347D#24347D

#24347D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.125 H 269.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#24347D
RGBrgb(36, 52, 125)
HSLhsl(229, 55%, 32%)
HSVhsv(229, 71%, 49%)
CMYKcmyk(71.2%, 58.4%, 0%, 51%)
CIE-LABlab(24.67, 19.88, -43.43)
CIE-LCHlch(24.67, 47.77, 294.60°)
OKLaboklab(35.82% -0.0007 -0.125)
OKLCHoklch(35.82% 0.125 269.7)
XYZxyz(5.6560, 4.3112, 19.9321)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24347D #7D6D24
analogous
#24617D #24347D #40247D
triadic
#24347D #7D2434 #347D24
tetradic
#24347D #7D2461 #7D6D24 #247D40
square
#24347D #7D2461 #7D6D24 #247D40
split-complementary
#24347D #7D4024 #617D24
monochromatic
#090C1E #16204D #24347D #3248AD #4F66CC

Accessibility & contrast

On white

11.28
#24347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#24347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24347D
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24347D#FFFFFF#000000##FFFFFF
##24347D1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24347d;
/* rgb */ color: rgb(36, 52, 125);
/* oklch */ color: oklch(35.8% 0.125 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b6ba3',
    500: '#24347d',
    950: '#000000',
  },
}
SCSS
$custom: #24347d;
$custom-light: #6b6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#24347d",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 229.213,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35821,
    "c": 0.12505,
    "h": 269.7
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#24347D
secondary
#AF9E4D
accent
#C449DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24347D

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

Preview Lab → · Contrast checker → · Palette generator →

#24347D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva