#24285B#24285B

#24285B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.090 H 276.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#24285B
RGBrgb(36, 40, 91)
HSLhsl(236, 43%, 25%)
HSVhsv(236, 60%, 36%)
CMYKcmyk(60.4%, 56%, 0%, 64.3%)
CIE-LABlab(18.57, 15.30, -31.31)
CIE-LCHlch(18.57, 34.85, 296.05°)
OKLaboklab(30.4% 0.0098 -0.0895)
OKLCHoklch(30.4% 0.09 276.3)
XYZxyz(3.3741, 2.6477, 10.2288)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24285B #5B5724
analogous
#24445B #24285B #3B245B
triadic
#24285B #5B2428 #285B24
tetradic
#24285B #5B2444 #5B5724 #245B3B
square
#24285B #5B2444 #5B5724 #245B3B
split-complementary
#24285B #5B3B24 #445B24
monochromatic
#090A16 #13152F #24285B #353B87 #474FB3

Accessibility & contrast

On white

13.73
#24285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#24285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24285B
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24285B#FFFFFF#000000##FFFFFF
##24285B1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#032B5A
Tritanopia (blue-blind)
#06343D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #24285b;
/* rgb */ color: rgb(36, 40, 91);
/* oklch */ color: oklch(30.4% 0.090 276.3);
Tailwind
colors: {
  custom: {
    50: '#64618a',
    500: '#24285b',
    950: '#000000',
  },
}
SCSS
$custom: #24285b;
$custom-light: #64618a;
$custom-dark: #000000;
JSON
{
  "hex": "#24285b",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 235.636,
    "s": 43.307,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30402,
    "c": 0.09008,
    "h": 276.3
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#24285B
secondary
#8F8A4C
accent
#CA55D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #24285B

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

Preview Lab → · Contrast checker → · Palette generator →

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