#24345C#24345C

#24345C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.074 H 266.1°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#24345C
RGBrgb(36, 52, 92)
HSLhsl(223, 44%, 25%)
HSVhsv(223, 61%, 36%)
CMYKcmyk(60.9%, 43.5%, 0%, 63.9%)
CIE-LABlab(22.31, 7.11, -25.99)
CIE-LCHlch(22.31, 26.94, 285.30°)
OKLaboklab(33.27% -0.0051 -0.0738)
OKLCHoklch(33.27% 0.074 266.1)
XYZxyz(3.8867, 3.6035, 10.6139)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24345C #5C4C24
analogous
#24505C #24345C #30245C
triadic
#24345C #5C2434 #345C24
tetradic
#24345C #5C2450 #5C4C24 #245C30
square
#24345C #5C2450 #5C4C24 #245C30
split-complementary
#24345C #5C3024 #505C24
monochromatic
#090C16 #131B30 #24345C #354D88 #4666B4

Accessibility & contrast

On white

12.20
#24345C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#24345C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24345C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24345C#FFFFFF#000000##FFFFFF
##24345C1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385E
Deuteranopia (green-blind)
#1C335B
Tritanopia (blue-blind)
#013D43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24345c;
/* rgb */ color: rgb(36, 52, 92);
/* oklch */ color: oklch(33.3% 0.074 266.1);
Tailwind
colors: {
  custom: {
    50: '#646b8a',
    500: '#24345c',
    950: '#000000',
  },
}
SCSS
$custom: #24345c;
$custom-light: #646b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#24345c",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 222.857,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33273,
    "c": 0.07394,
    "h": 266.1
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#24345C
secondary
#907C4C
accent
#AF54D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #24345C

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

Preview Lab → · Contrast checker → · Palette generator →

#24345C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva