#24579F#24579F

#24579F is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.2% C 0.129 H 257.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#24579F
RGBrgb(36, 87, 159)
HSLhsl(215, 63%, 38%)
HSVhsv(215, 77%, 62%)
CMYKcmyk(77.4%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.29, 9.40, -43.97)
CIE-LCHlch(37.29, 44.96, 282.07°)
OKLaboklab(46.21% -0.0275 -0.126)
OKLCHoklch(46.21% 0.129 257.7)
XYZxyz(10.3915, 9.6935, 34.1175)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24579F #9F6C24
analogous
#24949F #24579F #2E249F
triadic
#24579F #9F2457 #579F24
tetradic
#24579F #9F2494 #9F6C24 #249F2E
square
#24579F #9F2494 #9F6C24 #249F2E
split-complementary
#24579F #9F2E24 #949F24
monochromatic
#0D203B #193C6D #24579F #3072D0 #6294DB

Accessibility & contrast

On white

7.15
#24579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#24579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24579F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24579F#FFFFFF#000000##FFFFFF
##24579F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#19539E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #24579f;
/* rgb */ color: rgb(36, 87, 159);
/* oklch */ color: oklch(46.2% 0.129 257.7);
Tailwind
colors: {
  custom: {
    50: '#7185bc',
    500: '#24579f',
    950: '#000000',
  },
}
SCSS
$custom: #24579f;
$custom-light: #7185bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24579f",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 215.122,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46209,
    "c": 0.12896,
    "h": 257.7
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#24579F
secondary
#C1985E
accent
#A242E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #24579F

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

Preview Lab → · Contrast checker → · Palette generator →

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