#24337B#24337B

#24337B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.123 H 270.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#24337B
RGBrgb(36, 51, 123)
HSLhsl(230, 55%, 31%)
HSVhsv(230, 71%, 48%)
CMYKcmyk(70.7%, 58.5%, 0%, 51.8%)
CIE-LABlab(24.23, 19.80, -42.89)
CIE-LCHlch(24.23, 47.24, 294.79°)
OKLaboklab(35.44% 0.0001 -0.1235)
OKLCHoklch(35.44% 0.123 270)
XYZxyz(5.4853, 4.1723, 19.2513)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24337B #7B6C24
analogous
#245E7B #24337B #40247B
triadic
#24337B #7B2433 #337B24
tetradic
#24337B #7B245E #7B6C24 #247B40
square
#24337B #7B245E #7B6C24 #247B40
split-complementary
#24337B #7B4024 #5E7B24
monochromatic
#080C1C #161F4C #24337B #3247AA #4E64CB

Accessibility & contrast

On white

11.45
#24337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#24337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24337B
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24337B#FFFFFF#000000##FFFFFF
##24337B1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24337b;
/* rgb */ color: rgb(36, 51, 123);
/* oklch */ color: oklch(35.4% 0.123 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a6aa2',
    500: '#24337b',
    950: '#000000',
  },
}
SCSS
$custom: #24337b;
$custom-light: #6a6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#24337b",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 229.655,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3544,
    "c": 0.12346,
    "h": 270
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#24337B
secondary
#AD9D4D
accent
#C44ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24337B

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

Preview Lab → · Contrast checker → · Palette generator →

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