#24286C#24286C

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

Color values

HEX#24286C
RGBrgb(36, 40, 108)
HSLhsl(237, 50%, 28%)
HSVhsv(237, 67%, 42%)
CMYKcmyk(66.7%, 63%, 0%, 57.6%)
CIE-LABlab(19.94, 21.73, -40.25)
CIE-LCHlch(19.94, 45.74, 298.36°)
OKLaboklab(31.86% 0.0103 -0.1158)
OKLCHoklch(31.86% 0.116 275.1)
XYZxyz(4.1922, 2.9750, 14.5378)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24286C #6C6824
analogous
#244C6C #24286C #44246C
triadic
#24286C #6C2428 #286C24
tetradic
#24286C #6C244C #6C6824 #246C44
square
#24286C #6C244C #6C6824 #246C44
split-complementary
#24286C #6C4424 #4C6C24
monochromatic
#080817 #15173E #24286C #33399A #484FC2

Accessibility & contrast

On white

13.17
#24286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24286C
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24286C#FFFFFF#000000##FFFFFF
##24286C1.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24286c;
/* rgb */ color: rgb(36, 40, 108);
/* oklch */ color: oklch(31.9% 0.116 275.1);
Tailwind
colors: {
  custom: {
    50: '#686297',
    500: '#24286c',
    950: '#000000',
  },
}
SCSS
$custom: #24286c;
$custom-light: #686297;
$custom-dark: #000000;
JSON
{
  "hex": "#24286c",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 236.667,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31856,
    "c": 0.1163,
    "h": 275.1
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#24286C
secondary
#9F9B4D
accent
#D24EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #24286C

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

Preview Lab → · Contrast checker → · Palette generator →

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