#24316A#24316A

#24316A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.100 H 270.5°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#24316A
RGBrgb(36, 49, 106)
HSLhsl(229, 49%, 28%)
HSVhsv(229, 66%, 42%)
CMYKcmyk(66%, 53.8%, 0%, 58.4%)
CIE-LABlab(22.34, 14.61, -35.07)
CIE-LCHlch(22.34, 37.99, 292.62°)
OKLaboklab(33.6% 0.0009 -0.1005)
OKLCHoklch(33.6% 0.1 270.5)
XYZxyz(4.4265, 3.6119, 14.0968)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24316A #6A5D24
analogous
#24546A #24316A #3A246A
triadic
#24316A #6A2431 #316A24
tetradic
#24316A #6A2454 #6A5D24 #246A3A
square
#24316A #6A2454 #6A5D24 #246A3A
split-complementary
#24316A #6A3A24 #546A24
monochromatic
#080B17 #141C3C #24316A #344698 #485EC1

Accessibility & contrast

On white

12.19
#24316A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#24316A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24316A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24316A#FFFFFF#000000##FFFFFF
##24316A1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24316a;
/* rgb */ color: rgb(36, 49, 106);
/* oklch */ color: oklch(33.6% 0.100 270.5);
Tailwind
colors: {
  custom: {
    50: '#676895',
    500: '#24316a',
    950: '#000000',
  },
}
SCSS
$custom: #24316a;
$custom-light: #676895;
$custom-dark: #000000;
JSON
{
  "hex": "#24316a",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 228.857,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33602,
    "c": 0.10048,
    "h": 270.5
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#24316A
secondary
#9D8E4D
accent
#BF4FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #24316A

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

Preview Lab → · Contrast checker → · Palette generator →

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