#24337E#24337E

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

Color values

HEX#24337E
RGBrgb(36, 51, 126)
HSLhsl(230, 56%, 32%)
HSVhsv(230, 71%, 49%)
CMYKcmyk(71.4%, 59.5%, 0%, 50.6%)
CIE-LABlab(24.48, 20.97, -44.38)
CIE-LCHlch(24.48, 49.09, 295.29°)
OKLaboklab(35.7% 0.0002 -0.1279)
OKLCHoklch(35.7% 0.128 270.1)
XYZxyz(5.6760, 4.2485, 20.2555)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24337E #7E6F24
analogous
#24607E #24337E #42247E
triadic
#24337E #7E2433 #337E24
tetradic
#24337E #7E2460 #7E6F24 #247E42
square
#24337E #7E2460 #7E6F24 #247E42
split-complementary
#24337E #7E4224 #607E24
monochromatic
#090C1F #16204E #24337E #3246AE #5064CD

Accessibility & contrast

On white

11.35
#24337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#24337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24337E
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24337E#FFFFFF#000000##FFFFFF
##24337E1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24337e;
/* rgb */ color: rgb(36, 51, 126);
/* oklch */ color: oklch(35.7% 0.128 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b6aa4',
    500: '#24337e',
    950: '#000000',
  },
}
SCSS
$custom: #24337e;
$custom-light: #6b6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#24337e",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 230,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35699,
    "c": 0.12786,
    "h": 270.1
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#24337E
secondary
#B0A04E
accent
#C649DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24337E

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

Preview Lab → · Contrast checker → · Palette generator →

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