#24508F#24508F

#24508F is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.115 H 257.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#24508F
RGBrgb(36, 80, 143)
HSLhsl(215, 60%, 35%)
HSVhsv(215, 75%, 56%)
CMYKcmyk(74.8%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.18, 7.76, -39.28)
CIE-LCHlch(34.18, 40.04, 281.18°)
OKLaboklab(43.48% -0.0244 -0.1123)
OKLCHoklch(43.48% 0.115 257.8)
XYZxyz(8.5523, 8.0946, 27.0930)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24508F #8F6324
analogous
#24868F #24508F #2D248F
triadic
#24508F #8F2450 #508F24
tetradic
#24508F #8F2486 #8F6324 #248F2D
square
#24508F #8F2486 #8F6324 #248F2D
split-complementary
#24508F #8F2D24 #868F24
monochromatic
#0B192D #18355E #24508F #306BC0 #588CD5

Accessibility & contrast

On white

8.02
#24508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#24508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24508F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24508F#FFFFFF#000000##FFFFFF
##24508F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#1E4C8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #24508f;
/* rgb */ color: rgb(36, 80, 143);
/* oklch */ color: oklch(43.5% 0.115 257.8);
Tailwind
colors: {
  custom: {
    50: '#6e80b0',
    500: '#24508f',
    950: '#000000',
  },
}
SCSS
$custom: #24508f;
$custom-light: #6e80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24508f",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 215.327,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43479,
    "c": 0.11496,
    "h": 257.8
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#24508F
secondary
#B99055
accent
#A245E3
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #24508F

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

Preview Lab → · Contrast checker → · Palette generator →

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