#24387B#24387B

#24387B is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.117 H 267.7°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#24387B
RGBrgb(36, 56, 123)
HSLhsl(226, 55%, 31%)
HSVhsv(226, 71%, 48%)
CMYKcmyk(70.7%, 54.5%, 0%, 51.8%)
CIE-LABlab(25.66, 16.31, -40.57)
CIE-LCHlch(25.66, 43.73, 291.90°)
OKLaboklab(36.52% -0.0046 -0.1166)
OKLCHoklch(36.52% 0.117 267.7)
XYZxyz(5.7156, 4.6329, 19.3281)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24387B #7B6724
analogous
#24637B #24387B #3B247B
triadic
#24387B #7B2438 #387B24
tetradic
#24387B #7B2463 #7B6724 #247B3B
square
#24387B #7B2463 #7B6724 #247B3B
split-complementary
#24387B #7B3B24 #637B24
monochromatic
#080D1C #16224C #24387B #324EAA #4E6BCB

Accessibility & contrast

On white

10.90
#24387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#24387B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24387B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24387B#FFFFFF#000000##FFFFFF
##24387B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #24387b;
/* rgb */ color: rgb(36, 56, 123);
/* oklch */ color: oklch(36.5% 0.117 267.7);
Tailwind
colors: {
  custom: {
    50: '#6a6ea2',
    500: '#24387b',
    950: '#000000',
  },
}
SCSS
$custom: #24387b;
$custom-light: #6a6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#24387b",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 226.207,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36515,
    "c": 0.11666,
    "h": 267.7
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#24387B
secondary
#AD974D
accent
#BC4ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24387B

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

Preview Lab → · Contrast checker → · Palette generator →

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