#24337D#24337D

#24337D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.126 H 270.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#24337D
RGBrgb(36, 51, 125)
HSLhsl(230, 55%, 32%)
HSVhsv(230, 71%, 49%)
CMYKcmyk(71.2%, 59.2%, 0%, 51%)
CIE-LABlab(24.39, 20.58, -43.89)
CIE-LCHlch(24.39, 48.47, 295.12°)
OKLaboklab(35.61% 0.0001 -0.1264)
OKLCHoklch(35.61% 0.126 270.1)
XYZxyz(5.6118, 4.2228, 19.9174)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24337D #7D6E24
analogous
#24607D #24337D #42247D
triadic
#24337D #7D2433 #337D24
tetradic
#24337D #7D2460 #7D6E24 #247D42
square
#24337D #7D2460 #7D6E24 #247D42
split-complementary
#24337D #7D4224 #607D24
monochromatic
#090C1E #16204D #24337D #3246AD #4F64CC

Accessibility & contrast

On white

11.38
#24337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#24337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24337D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24337D#FFFFFF#000000##FFFFFF
##24337D1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24337d;
/* rgb */ color: rgb(36, 51, 125);
/* oklch */ color: oklch(35.6% 0.126 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b6aa3',
    500: '#24337d',
    950: '#000000',
  },
}
SCSS
$custom: #24337d;
$custom-light: #6b6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#24337d",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 229.888,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35612,
    "c": 0.1264,
    "h": 270.1
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#24337D
secondary
#AF9F4D
accent
#C549DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24337D

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

Preview Lab → · Contrast checker → · Palette generator →

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