#24387A#24387A

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

Color values

HEX#24387A
RGBrgb(36, 56, 122)
HSLhsl(226, 54%, 31%)
HSVhsv(226, 70%, 48%)
CMYKcmyk(70.5%, 54.1%, 0%, 52.2%)
CIE-LABlab(25.59, 15.92, -40.06)
CIE-LCHlch(25.59, 43.11, 291.67°)
OKLaboklab(36.44% -0.0047 -0.1151)
OKLCHoklch(36.44% 0.115 267.7)
XYZxyz(5.6534, 4.6080, 19.0001)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24387A #7A6624
analogous
#24637A #24387A #3B247A
triadic
#24387A #7A2438 #387A24
tetradic
#24387A #7A2463 #7A6624 #247A3B
square
#24387A #7A2463 #7A6624 #247A3B
split-complementary
#24387A #7A3B24 #637A24
monochromatic
#080D1B #16224B #24387A #324EA9 #4E6BCB

Accessibility & contrast

On white

10.93
#24387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#24387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24387A
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24387A#FFFFFF#000000##FFFFFF
##24387A1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #24387a;
/* rgb */ color: rgb(36, 56, 122);
/* oklch */ color: oklch(36.4% 0.115 267.7);
Tailwind
colors: {
  custom: {
    50: '#6a6ea1',
    500: '#24387a',
    950: '#000000',
  },
}
SCSS
$custom: #24387a;
$custom-light: #6a6ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#24387a",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 226.047,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36435,
    "c": 0.11517,
    "h": 267.7
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#24387A
secondary
#AC964D
accent
#BB4ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24387A

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

Preview Lab → · Contrast checker → · Palette generator →

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