#24479F#24479F

#24479F is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.149 H 264.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#24479F
RGBrgb(36, 71, 159)
HSLhsl(223, 63%, 38%)
HSVhsv(223, 77%, 62%)
CMYKcmyk(77.4%, 55.3%, 0%, 37.6%)
CIE-LABlab(32.66, 20.11, -51.42)
CIE-LCHlch(32.66, 55.22, 291.36°)
OKLaboklab(42.67% -0.0143 -0.1482)
OKLCHoklch(42.67% 0.149 264.5)
XYZxyz(9.2366, 7.3837, 33.7326)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24479F #9F7C24
analogous
#24849F #24479F #3E249F
triadic
#24479F #9F2447 #479F24
tetradic
#24479F #9F2484 #9F7C24 #249F3E
square
#24479F #9F2484 #9F7C24 #249F3E
split-complementary
#24479F #9F3E24 #849F24
monochromatic
#0D1A3B #19316D #24479F #305ED0 #6285DB

Accessibility & contrast

On white

8.48
#24479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#24479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24479F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24479F#FFFFFF#000000##FFFFFF
##24479F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #24479f;
/* rgb */ color: rgb(36, 71, 159);
/* oklch */ color: oklch(42.7% 0.149 264.5);
Tailwind
colors: {
  custom: {
    50: '#7279bc',
    500: '#24479f',
    950: '#000000',
  },
}
SCSS
$custom: #24479f;
$custom-light: #7279bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24479f",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 222.927,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42674,
    "c": 0.14894,
    "h": 264.5
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#24479F
secondary
#C1A55E
accent
#B742E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #24479F

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

Preview Lab → · Contrast checker → · Palette generator →

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