#24286D#24286D

#24286D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.118 H 275.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#24286D
RGBrgb(36, 40, 109)
HSLhsl(237, 50%, 28%)
HSVhsv(237, 67%, 43%)
CMYKcmyk(67%, 63.3%, 0%, 57.3%)
CIE-LABlab(20.03, 22.11, -40.76)
CIE-LCHlch(20.03, 46.37, 298.48°)
OKLaboklab(31.95% 0.0103 -0.1173)
OKLCHoklch(31.95% 0.118 275)
XYZxyz(4.2458, 2.9964, 14.8197)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24286D #6D6924
analogous
#244C6D #24286D #44246D
triadic
#24286D #6D2428 #286D24
tetradic
#24286D #6D244C #6D6924 #246D44
square
#24286D #6D244C #6D6924 #246D44
split-complementary
#24286D #6D4424 #4C6D24
monochromatic
#080817 #15173F #24286D #33399B #494FC3

Accessibility & contrast

On white

13.13
#24286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#24286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24286D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24286D#FFFFFF#000000##FFFFFF
##24286D1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24286d;
/* rgb */ color: rgb(36, 40, 109);
/* oklch */ color: oklch(31.9% 0.118 275.0);
Tailwind
colors: {
  custom: {
    50: '#686297',
    500: '#24286d',
    950: '#000000',
  },
}
SCSS
$custom: #24286d;
$custom-light: #686297;
$custom-dark: #000000;
JSON
{
  "hex": "#24286d",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 236.712,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31947,
    "c": 0.11778,
    "h": 275
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#24286D
secondary
#A09C4D
accent
#D24EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #24286D

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

Preview Lab → · Contrast checker → · Palette generator →

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