#24286B#24286B

#24286B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.115 H 275.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#24286B
RGBrgb(36, 40, 107)
HSLhsl(237, 50%, 28%)
HSVhsv(237, 66%, 42%)
CMYKcmyk(66.4%, 62.6%, 0%, 58%)
CIE-LABlab(19.86, 21.35, -39.74)
CIE-LCHlch(19.86, 45.11, 298.25°)
OKLaboklab(31.77% 0.0103 -0.1143)
OKLCHoklch(31.77% 0.115 275.2)
XYZxyz(4.1393, 2.9538, 14.2591)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24286B #6B6724
analogous
#244B6B #24286B #43246B
triadic
#24286B #6B2428 #286B24
tetradic
#24286B #6B244B #6B6724 #246B43
square
#24286B #6B244B #6B6724 #246B43
split-complementary
#24286B #6B4324 #4B6B24
monochromatic
#080917 #15173D #24286B #333999 #484FC1

Accessibility & contrast

On white

13.20
#24286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#24286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24286B
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24286B#FFFFFF#000000##FFFFFF
##24286B1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24286b;
/* rgb */ color: rgb(36, 40, 107);
/* oklch */ color: oklch(31.8% 0.115 275.2);
Tailwind
colors: {
  custom: {
    50: '#686296',
    500: '#24286b',
    950: '#000000',
  },
}
SCSS
$custom: #24286b;
$custom-light: #686296;
$custom-dark: #000000;
JSON
{
  "hex": "#24286b",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 236.62,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31766,
    "c": 0.1148,
    "h": 275.2
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#24286B
secondary
#9E9A4D
accent
#D14FD9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #24286B

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

Preview Lab → · Contrast checker → · Palette generator →

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