#24377D#24377D

#24377D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.121 H 268.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#24377D
RGBrgb(36, 55, 125)
HSLhsl(227, 55%, 32%)
HSVhsv(227, 71%, 49%)
CMYKcmyk(71.2%, 56%, 0%, 51%)
CIE-LABlab(25.53, 17.79, -42.05)
CIE-LCHlch(25.53, 45.66, 292.93°)
OKLaboklab(36.46% -0.0035 -0.1209)
OKLCHoklch(36.46% 0.121 268.3)
XYZxyz(5.7941, 4.5875, 19.9782)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24377D #7D6A24
analogous
#24647D #24377D #3E247D
triadic
#24377D #7D2437 #377D24
tetradic
#24377D #7D2464 #7D6A24 #247D3E
square
#24377D #7D2464 #7D6A24 #247D3E
split-complementary
#24377D #7D3E24 #647D24
monochromatic
#090D1E #16224D #24377D #324CAD #4F6ACC

Accessibility & contrast

On white

10.95
#24377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#24377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24377D
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24377D#FFFFFF#000000##FFFFFF
##24377D1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03417F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24377d;
/* rgb */ color: rgb(36, 55, 125);
/* oklch */ color: oklch(36.5% 0.121 268.3);
Tailwind
colors: {
  custom: {
    50: '#6b6da3',
    500: '#24377d',
    950: '#000000',
  },
}
SCSS
$custom: #24377d;
$custom-light: #6b6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#24377d",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 227.191,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36461,
    "c": 0.12099,
    "h": 268.3
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#24377D
secondary
#AF9A4D
accent
#BF49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24377D

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

Preview Lab → · Contrast checker → · Palette generator →

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