#24285D#24285D

#24285D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.093 H 276.1°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#24285D
RGBrgb(36, 40, 93)
HSLhsl(236, 44%, 25%)
HSVhsv(236, 61%, 36%)
CMYKcmyk(61.3%, 57%, 0%, 63.5%)
CIE-LABlab(18.73, 16.06, -32.39)
CIE-LCHlch(18.73, 36.15, 296.37°)
OKLaboklab(30.56% 0.01 -0.0927)
OKLCHoklch(30.56% 0.093 276.1)
XYZxyz(3.4615, 2.6827, 10.6892)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24285D #5D5924
analogous
#24455D #24285D #3C245D
triadic
#24285D #5D2428 #285D24
tetradic
#24285D #5D2445 #5D5924 #245D3C
square
#24285D #5D2445 #5D5924 #245D3C
split-complementary
#24285D #5D3C24 #455D24
monochromatic
#090916 #131531 #24285D #353B89 #464EB5

Accessibility & contrast

On white

13.67
#24285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#24285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24285D
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24285D#FFFFFF#000000##FFFFFF
##24285D1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#03343E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #24285d;
/* rgb */ color: rgb(36, 40, 93);
/* oklch */ color: oklch(30.6% 0.093 276.1);
Tailwind
colors: {
  custom: {
    50: '#65618b',
    500: '#24285d',
    950: '#000000',
  },
}
SCSS
$custom: #24285d;
$custom-light: #65618b;
$custom-dark: #000000;
JSON
{
  "hex": "#24285d",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 235.789,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30564,
    "c": 0.09325,
    "h": 276.1
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#24285D
secondary
#918C4C
accent
#CB54D4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #24285D

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

Preview Lab → · Contrast checker → · Palette generator →

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