#24286A#24286A

#24286A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.7% C 0.113 H 275.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#24286A
RGBrgb(36, 40, 106)
HSLhsl(237, 49%, 28%)
HSVhsv(237, 66%, 42%)
CMYKcmyk(66%, 62.3%, 0%, 58.4%)
CIE-LABlab(19.77, 20.98, -39.23)
CIE-LCHlch(19.77, 44.48, 298.13°)
OKLaboklab(31.68% 0.0103 -0.1128)
OKLCHoklch(31.68% 0.113 275.2)
XYZxyz(4.0870, 2.9329, 13.9836)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24286A #6A6624
analogous
#244B6A #24286A #43246A
triadic
#24286A #6A2428 #286A24
tetradic
#24286A #6A244B #6A6624 #246A43
square
#24286A #6A244B #6A6624 #246A43
split-complementary
#24286A #6A4324 #4B6A24
monochromatic
#080917 #14173C #24286A #343998 #484FC1

Accessibility & contrast

On white

13.24
#24286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24286A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24286A#FFFFFF#000000##FFFFFF
##24286A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24286a;
/* rgb */ color: rgb(36, 40, 106);
/* oklch */ color: oklch(31.7% 0.113 275.2);
Tailwind
colors: {
  custom: {
    50: '#676195',
    500: '#24286a',
    950: '#000000',
  },
}
SCSS
$custom: #24286a;
$custom-light: #676195;
$custom-dark: #000000;
JSON
{
  "hex": "#24286a",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 236.571,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31677,
    "c": 0.1133,
    "h": 275.2
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24286A

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

Preview Lab → · Contrast checker → · Palette generator →

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