#24345E#24345E

#24345E is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.077 H 266.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#24345E
RGBrgb(36, 52, 94)
HSLhsl(223, 45%, 25%)
HSVhsv(223, 62%, 37%)
CMYKcmyk(61.7%, 44.7%, 0%, 63.1%)
CIE-LABlab(22.44, 7.87, -27.10)
CIE-LCHlch(22.44, 28.22, 286.19°)
OKLaboklab(33.41% -0.0046 -0.077)
OKLCHoklch(33.41% 0.077 266.6)
XYZxyz(3.9752, 3.6389, 11.0804)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24345E #5E4E24
analogous
#24515E #24345E #31245E
triadic
#24345E #5E2434 #345E24
tetradic
#24345E #5E2451 #5E4E24 #245E31
square
#24345E #5E2451 #5E4E24 #245E31
split-complementary
#24345E #5E3124 #515E24
monochromatic
#080C16 #131C32 #24345E #354C8A #4665B7

Accessibility & contrast

On white

12.15
#24345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#24345E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24345E
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24345E#FFFFFF#000000##FFFFFF
##24345E1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223860
Deuteranopia (green-blind)
#1A335D
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24345e;
/* rgb */ color: rgb(36, 52, 94);
/* oklch */ color: oklch(33.4% 0.077 266.6);
Tailwind
colors: {
  custom: {
    50: '#646b8c',
    500: '#24345e',
    950: '#000000',
  },
}
SCSS
$custom: #24345e;
$custom-light: #646b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#24345e",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 223.448,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3341,
    "c": 0.07717,
    "h": 266.6
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#24345E
secondary
#927E4C
accent
#B153D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #24345E

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

Preview Lab → · Contrast checker → · Palette generator →

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