#24508E#24508E

#24508E is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.114 H 257.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#24508E
RGBrgb(36, 80, 142)
HSLhsl(215, 60%, 35%)
HSVhsv(215, 75%, 56%)
CMYKcmyk(74.6%, 43.7%, 0%, 44.3%)
CIE-LABlab(34.12, 7.37, -38.77)
CIE-LCHlch(34.12, 39.46, 280.77°)
OKLaboklab(43.41% -0.0246 -0.1108)
OKLCHoklch(43.41% 0.114 257.5)
XYZxyz(8.4769, 8.0645, 26.6958)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24508E #8E6224
analogous
#24858E #24508E #2D248E
triadic
#24508E #8E2450 #508E24
tetradic
#24508E #8E2485 #8E6224 #248E2D
square
#24508E #8E2485 #8E6224 #248E2D
split-complementary
#24508E #8E2D24 #858E24
monochromatic
#0B192C #18345D #24508E #306CBF #588CD5

Accessibility & contrast

On white

8.04
#24508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#24508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24508E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24508E#FFFFFF#000000##FFFFFF
##24508E1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24508e;
/* rgb */ color: rgb(36, 80, 142);
/* oklch */ color: oklch(43.4% 0.114 257.5);
Tailwind
colors: {
  custom: {
    50: '#6d80af',
    500: '#24508e',
    950: '#000000',
  },
}
SCSS
$custom: #24508e;
$custom-light: #6d80af;
$custom-dark: #000000;
JSON
{
  "hex": "#24508e",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 215.094,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.11354,
    "h": 257.5
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#24508E
secondary
#B98F55
accent
#A145E3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #24508E

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

Preview Lab → · Contrast checker → · Palette generator →

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