#24286F#24286F

#24286F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.121 H 274.8°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#24286F
RGBrgb(36, 40, 111)
HSLhsl(237, 51%, 29%)
HSVhsv(237, 68%, 44%)
CMYKcmyk(67.6%, 64%, 0%, 56.5%)
CIE-LABlab(20.20, 22.86, -41.77)
CIE-LCHlch(20.20, 47.62, 298.70°)
OKLaboklab(32.13% 0.0102 -0.1203)
OKLCHoklch(32.13% 0.121 274.8)
XYZxyz(4.3546, 3.0400, 15.3931)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24286F #6F6B24
analogous
#244E6F #24286F #46246F
triadic
#24286F #6F2428 #286F24
tetradic
#24286F #6F244E #6F6B24 #246F46
square
#24286F #6F244E #6F6B24 #246F46
split-complementary
#24286F #6F4624 #4E6F24
monochromatic
#070817 #151741 #24286F #33399D #4950C4

Accessibility & contrast

On white

13.06
#24286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#24286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24286F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24286F#FFFFFF#000000##FFFFFF
##24286F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #24286f;
/* rgb */ color: rgb(36, 40, 111);
/* oklch */ color: oklch(32.1% 0.121 274.8);
Tailwind
colors: {
  custom: {
    50: '#696299',
    500: '#24286f',
    950: '#000000',
  },
}
SCSS
$custom: #24286f;
$custom-light: #696299;
$custom-dark: #000000;
JSON
{
  "hex": "#24286f",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 236.8,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32129,
    "c": 0.12073,
    "h": 274.8
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#24286F
secondary
#A29D4D
accent
#D34DDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #24286F

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

Preview Lab → · Contrast checker → · Palette generator →

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