#24286E#24286E

#24286E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.119 H 274.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#24286E
RGBrgb(36, 40, 110)
HSLhsl(237, 51%, 29%)
HSVhsv(237, 67%, 43%)
CMYKcmyk(67.3%, 63.6%, 0%, 56.9%)
CIE-LABlab(20.12, 22.49, -41.26)
CIE-LCHlch(20.12, 46.99, 298.59°)
OKLaboklab(32.04% 0.0102 -0.1188)
OKLCHoklch(32.04% 0.119 274.9)
XYZxyz(4.2999, 3.0181, 15.1048)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24286E #6E6A24
analogous
#244D6E #24286E #45246E
triadic
#24286E #6E2428 #286E24
tetradic
#24286E #6E244D #6E6A24 #246E45
square
#24286E #6E244D #6E6A24 #246E45
split-complementary
#24286E #6E4524 #4D6E24
monochromatic
#080817 #151740 #24286E #33399C #4950C3

Accessibility & contrast

On white

13.10
#24286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24286E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24286E#FFFFFF#000000##FFFFFF
##24286E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #24286e;
/* rgb */ color: rgb(36, 40, 110);
/* oklch */ color: oklch(32.0% 0.119 274.9);
Tailwind
colors: {
  custom: {
    50: '#686298',
    500: '#24286e',
    950: '#000000',
  },
}
SCSS
$custom: #24286e;
$custom-light: #686298;
$custom-dark: #000000;
JSON
{
  "hex": "#24286e",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 236.757,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32038,
    "c": 0.11926,
    "h": 274.9
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#24286E
secondary
#A19D4D
accent
#D34EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #24286E

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

Preview Lab → · Contrast checker → · Palette generator →

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