#24367B#24367B

#24367B is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.119 H 268.7°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#24367B
RGBrgb(36, 54, 123)
HSLhsl(228, 55%, 31%)
HSVhsv(228, 71%, 48%)
CMYKcmyk(70.7%, 56.1%, 0%, 51.8%)
CIE-LABlab(25.08, 17.71, -41.50)
CIE-LCHlch(25.08, 45.12, 293.11°)
OKLaboklab(36.08% -0.0027 -0.1193)
OKLCHoklch(36.08% 0.119 268.7)
XYZxyz(5.6206, 4.4429, 19.2964)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24367B #7B6924
analogous
#24617B #24367B #3D247B
triadic
#24367B #7B2436 #367B24
tetradic
#24367B #7B2461 #7B6924 #247B3D
square
#24367B #7B2461 #7B6924 #247B3D
split-complementary
#24367B #7B3D24 #617B24
monochromatic
#080C1C #16214C #24367B #324BAA #4E68CB

Accessibility & contrast

On white

11.12
#24367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#24367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24367B
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24367B#FFFFFF#000000##FFFFFF
##24367B1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24367b;
/* rgb */ color: rgb(36, 54, 123);
/* oklch */ color: oklch(36.1% 0.119 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a6ca2',
    500: '#24367b',
    950: '#000000',
  },
}
SCSS
$custom: #24367b;
$custom-light: #6a6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#24367b",
  "rgb": {
    "r": 36,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 227.586,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36079,
    "c": 0.11938,
    "h": 268.7
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#24367B
secondary
#AD9A4D
accent
#BF4ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24367B

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

Preview Lab → · Contrast checker → · Palette generator →

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