#24357C#24357C

#24357C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.122 H 269.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#24357C
RGBrgb(36, 53, 124)
HSLhsl(228, 55%, 31%)
HSVhsv(228, 71%, 49%)
CMYKcmyk(71%, 57.3%, 0%, 51.4%)
CIE-LABlab(24.88, 18.80, -42.47)
CIE-LCHlch(24.88, 46.45, 293.87°)
OKLaboklab(35.95% -0.0017 -0.1222)
OKLCHoklch(35.95% 0.122 269.2)
XYZxyz(5.6375, 4.3760, 19.6124)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24357C #7C6B24
analogous
#24617C #24357C #3F247C
triadic
#24357C #7C2435 #357C24
tetradic
#24357C #7C2461 #7C6B24 #247C3F
square
#24357C #7C2461 #7C6B24 #247C3F
split-complementary
#24357C #7C3F24 #617C24
monochromatic
#080C1D #16214D #24357C #3249AB #4F67CC

Accessibility & contrast

On white

11.20
#24357C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#24357C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24357C
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24357C#FFFFFF#000000##FFFFFF
##24357C1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24357c;
/* rgb */ color: rgb(36, 53, 124);
/* oklch */ color: oklch(35.9% 0.122 269.2);
Tailwind
colors: {
  custom: {
    50: '#6b6ba2',
    500: '#24357c',
    950: '#000000',
  },
}
SCSS
$custom: #24357c;
$custom-light: #6b6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#24357c",
  "rgb": {
    "r": 36,
    "g": 53,
    "b": 124
  },
  "hsl": {
    "h": 228.409,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35948,
    "c": 0.12222,
    "h": 269.2
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#24357C
secondary
#AE9C4D
accent
#C249DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24357C

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

Preview Lab → · Contrast checker → · Palette generator →

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