#24335D#24335D

#24335D is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.077 H 267.3°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#24335D
RGBrgb(36, 51, 93)
HSLhsl(224, 44%, 25%)
HSVhsv(224, 61%, 36%)
CMYKcmyk(61.3%, 45.2%, 0%, 63.5%)
CIE-LABlab(22.06, 8.20, -27.04)
CIE-LCHlch(22.06, 28.26, 286.86°)
OKLaboklab(33.1% -0.0036 -0.0769)
OKLCHoklch(33.1% 0.077 267.3)
XYZxyz(3.8865, 3.5327, 10.8309)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24335D #5D4E24
analogous
#244F5D #24335D #32245D
triadic
#24335D #5D2433 #335D24
tetradic
#24335D #5D244F #5D4E24 #245D32
square
#24335D #5D244F #5D4E24 #245D32
split-complementary
#24335D #5D3224 #4F5D24
monochromatic
#090C16 #131B31 #24335D #354B89 #4663B5

Accessibility & contrast

On white

12.31
#24335D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#24335D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24335D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24335D#FFFFFF#000000##FFFFFF
##24335D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21385F
Deuteranopia (green-blind)
#19325C
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24335d;
/* rgb */ color: rgb(36, 51, 93);
/* oklch */ color: oklch(33.1% 0.077 267.3);
Tailwind
colors: {
  custom: {
    50: '#646a8b',
    500: '#24335d',
    950: '#000000',
  },
}
SCSS
$custom: #24335d;
$custom-light: #646a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#24335d",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 224.211,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33099,
    "c": 0.07696,
    "h": 267.3
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#24335D
secondary
#917F4C
accent
#B254D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #24335D

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

Preview Lab → · Contrast checker → · Palette generator →

#24335D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva