#24345F#24345F

#24345F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.5% C 0.079 H 266.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#24345F
RGBrgb(36, 52, 95)
HSLhsl(224, 45%, 26%)
HSVhsv(224, 62%, 37%)
CMYKcmyk(62.1%, 45.3%, 0%, 62.7%)
CIE-LABlab(22.50, 8.25, -27.65)
CIE-LCHlch(22.50, 28.86, 286.61°)
OKLaboklab(33.48% -0.0044 -0.0786)
OKLCHoklch(33.48% 0.079 266.8)
XYZxyz(4.0204, 3.6570, 11.3183)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24345F #5F4F24
analogous
#24515F #24345F #31245F
triadic
#24345F #5F2434 #345F24
tetradic
#24345F #5F2451 #5F4F24 #245F31
square
#24345F #5F2451 #5F4F24 #245F31
split-complementary
#24345F #5F3124 #515F24
monochromatic
#080C16 #131C33 #24345F #354C8B #4665B8

Accessibility & contrast

On white

12.13
#24345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24345F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24345F#FFFFFF#000000##FFFFFF
##24345F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#19335E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24345f;
/* rgb */ color: rgb(36, 52, 95);
/* oklch */ color: oklch(33.5% 0.079 266.8);
Tailwind
colors: {
  custom: {
    50: '#646b8d',
    500: '#24345f',
    950: '#000000',
  },
}
SCSS
$custom: #24345f;
$custom-light: #646b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#24345f",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 223.729,
    "s": 45.038,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3348,
    "c": 0.07877,
    "h": 266.8
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#24345F
secondary
#937F4C
accent
#B253D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #24345F

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

Preview Lab → · Contrast checker → · Palette generator →

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