#24479B#24479B

#24479B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.143 H 264.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#24479B
RGBrgb(36, 71, 155)
HSLhsl(222, 62%, 37%)
HSVhsv(222, 77%, 61%)
CMYKcmyk(76.8%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.36, 18.55, -49.50)
CIE-LCHlch(32.36, 52.86, 290.54°)
OKLaboklab(42.35% -0.0146 -0.1426)
OKLCHoklch(42.35% 0.143 264.1)
XYZxyz(8.8951, 7.2471, 31.9340)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24479B #9B7824
analogous
#24839B #24479B #3C249B
triadic
#24479B #9B2447 #479B24
tetradic
#24479B #9B2483 #9B7824 #249B3C
square
#24479B #9B2483 #9B7824 #249B3C
split-complementary
#24479B #9B3C24 #839B24
monochromatic
#0D1A38 #183069 #24479B #305ECD #5F83DA

Accessibility & contrast

On white

8.57
#24479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#24479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24479B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24479B#FFFFFF#000000##FFFFFF
##24479B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06529E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #24479b;
/* rgb */ color: rgb(36, 71, 155);
/* oklch */ color: oklch(42.4% 0.143 264.1);
Tailwind
colors: {
  custom: {
    50: '#7179b9',
    500: '#24479b',
    950: '#000000',
  },
}
SCSS
$custom: #24479b;
$custom-light: #7179b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24479b",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 222.353,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.14332,
    "h": 264.1
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#24479B
secondary
#BFA25C
accent
#B542E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #24479B

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

Preview Lab → · Contrast checker → · Palette generator →

#24479B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva