#24316E#24316E

#24316E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.107 H 270.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#24316E
RGBrgb(36, 49, 110)
HSLhsl(229, 51%, 29%)
HSVhsv(229, 67%, 43%)
CMYKcmyk(67.3%, 55.5%, 0%, 56.9%)
CIE-LABlab(22.64, 16.16, -37.16)
CIE-LCHlch(22.64, 40.53, 293.50°)
OKLaboklab(33.92% 0.0012 -0.1066)
OKLCHoklch(33.92% 0.107 270.7)
XYZxyz(4.6394, 3.6971, 15.2179)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24316E #6E6124
analogous
#24566E #24316E #3C246E
triadic
#24316E #6E2431 #316E24
tetradic
#24316E #6E2456 #6E6124 #246E3C
square
#24316E #6E2456 #6E6124 #246E3C
split-complementary
#24316E #6E3C24 #566E24
monochromatic
#080A17 #151C40 #24316E #33469C #495EC3

Accessibility & contrast

On white

12.07
#24316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#24316E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24316E
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24316E#FFFFFF#000000##FFFFFF
##24316E1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3A70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24316e;
/* rgb */ color: rgb(36, 49, 110);
/* oklch */ color: oklch(33.9% 0.107 270.7);
Tailwind
colors: {
  custom: {
    50: '#686898',
    500: '#24316e',
    950: '#000000',
  },
}
SCSS
$custom: #24316e;
$custom-light: #686898;
$custom-dark: #000000;
JSON
{
  "hex": "#24316e",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 229.459,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33923,
    "c": 0.10666,
    "h": 270.7
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#24316E
secondary
#A1924D
accent
#C14EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #24316E

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

Preview Lab → · Contrast checker → · Palette generator →

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