#24347F#24347F

#24347F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.128 H 269.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#24347F
RGBrgb(36, 52, 127)
HSLhsl(229, 56%, 32%)
HSVhsv(229, 72%, 50%)
CMYKcmyk(71.7%, 59.1%, 0%, 50.2%)
CIE-LABlab(24.84, 20.66, -44.43)
CIE-LCHlch(24.84, 49.00, 294.94°)
OKLaboklab(35.99% -0.0007 -0.128)
OKLCHoklch(35.99% 0.128 269.7)
XYZxyz(5.7850, 4.3628, 20.6118)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24347F #7F6F24
analogous
#24617F #24347F #42247F
triadic
#24347F #7F2434 #347F24
tetradic
#24347F #7F2461 #7F6F24 #247F42
square
#24347F #7F2461 #7F6F24 #247F42
split-complementary
#24347F #7F4224 #617F24
monochromatic
#090D20 #16204F #24347F #3248AF #5066CD

Accessibility & contrast

On white

11.21
#24347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24347F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24347F#FFFFFF#000000##FFFFFF
##24347F1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24347f;
/* rgb */ color: rgb(36, 52, 127);
/* oklch */ color: oklch(36.0% 0.128 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b6ba5',
    500: '#24347f',
    950: '#000000',
  },
}
SCSS
$custom: #24347f;
$custom-light: #6b6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#24347f",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 229.451,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35993,
    "c": 0.12798,
    "h": 269.7
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#24347F
secondary
#B1A04E
accent
#C549DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24347F

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

Preview Lab → · Contrast checker → · Palette generator →

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