#24347E#24347E

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

Color values

HEX#24347E
RGBrgb(36, 52, 126)
HSLhsl(229, 56%, 32%)
HSVhsv(229, 71%, 49%)
CMYKcmyk(71.4%, 58.7%, 0%, 50.6%)
CIE-LABlab(24.76, 20.27, -43.93)
CIE-LCHlch(24.76, 48.38, 294.77°)
OKLaboklab(35.91% -0.0007 -0.1265)
OKLCHoklch(35.91% 0.127 269.7)
XYZxyz(5.7202, 4.3369, 20.2703)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24347E #7E6E24
analogous
#24617E #24347E #41247E
triadic
#24347E #7E2434 #347E24
tetradic
#24347E #7E2461 #7E6E24 #247E41
square
#24347E #7E2461 #7E6E24 #247E41
split-complementary
#24347E #7E4124 #617E24
monochromatic
#090D1F #16204E #24347E #3248AE #5066CD

Accessibility & contrast

On white

11.25
#24347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#24347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24347E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24347E#FFFFFF#000000##FFFFFF
##24347E1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24347e;
/* rgb */ color: rgb(36, 52, 126);
/* oklch */ color: oklch(35.9% 0.127 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b6ba4',
    500: '#24347e',
    950: '#000000',
  },
}
SCSS
$custom: #24347e;
$custom-light: #6b6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#24347e",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 229.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35907,
    "c": 0.12652,
    "h": 269.7
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24347E

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

Preview Lab → · Contrast checker → · Palette generator →

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