#24479A#24479A

#24479A is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.142 H 264.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#24479A
RGBrgb(36, 71, 154)
HSLhsl(222, 62%, 37%)
HSVhsv(222, 77%, 60%)
CMYKcmyk(76.6%, 53.9%, 0%, 39.6%)
CIE-LABlab(32.29, 18.15, -49.01)
CIE-LCHlch(32.29, 52.26, 290.33°)
OKLaboklab(42.27% -0.0147 -0.1411)
OKLCHoklch(42.27% 0.142 264)
XYZxyz(8.8115, 7.2137, 31.4936)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24479A #9A7724
analogous
#24829A #24479A #3C249A
triadic
#24479A #9A2447 #479A24
tetradic
#24479A #9A2482 #9A7724 #249A3C
square
#24479A #9A2482 #9A7724 #249A3C
split-complementary
#24479A #9A3C24 #829A24
monochromatic
#0D1937 #183068 #24479A #305ECC #5F83DA

Accessibility & contrast

On white

8.60
#24479A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#24479A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24479A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24479A#FFFFFF#000000##FFFFFF
##24479A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09529D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #24479a;
/* rgb */ color: rgb(36, 71, 154);
/* oklch */ color: oklch(42.3% 0.142 264.0);
Tailwind
colors: {
  custom: {
    50: '#7179b8',
    500: '#24479a',
    950: '#000000',
  },
}
SCSS
$custom: #24479a;
$custom-light: #7179b8;
$custom-dark: #000000;
JSON
{
  "hex": "#24479a",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 222.203,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4227,
    "c": 0.14192,
    "h": 264
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#24479A
secondary
#BFA15B
accent
#B543E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #24479A

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

Preview Lab → · Contrast checker → · Palette generator →

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