#24337C#24337C

#24337C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.125 H 270.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#24337C
RGBrgb(36, 51, 124)
HSLhsl(230, 55%, 31%)
HSVhsv(230, 71%, 49%)
CMYKcmyk(71%, 58.9%, 0%, 51.4%)
CIE-LABlab(24.31, 20.19, -43.39)
CIE-LCHlch(24.31, 47.86, 294.96°)
OKLaboklab(35.53% 0.0001 -0.1249)
OKLCHoklch(35.53% 0.125 270.1)
XYZxyz(5.5482, 4.1974, 19.5827)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24337C #7C6D24
analogous
#245F7C #24337C #41247C
triadic
#24337C #7C2433 #337C24
tetradic
#24337C #7C245F #7C6D24 #247C41
square
#24337C #7C245F #7C6D24 #247C41
split-complementary
#24337C #7C4124 #5F7C24
monochromatic
#080C1D #161F4D #24337C #3247AB #4F64CC

Accessibility & contrast

On white

11.42
#24337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#24337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24337C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24337C#FFFFFF#000000##FFFFFF
##24337C1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24337c;
/* rgb */ color: rgb(36, 51, 124);
/* oklch */ color: oklch(35.5% 0.125 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b6aa3',
    500: '#24337c',
    950: '#000000',
  },
}
SCSS
$custom: #24337c;
$custom-light: #6b6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#24337c",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 229.773,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35525,
    "c": 0.12493,
    "h": 270.1
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#24337C
secondary
#AE9E4D
accent
#C549DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24337C

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

Preview Lab → · Contrast checker → · Palette generator →

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