#24518E#24518E

#24518E is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.112 H 256.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#24518E
RGBrgb(36, 81, 142)
HSLhsl(215, 60%, 35%)
HSVhsv(215, 75%, 56%)
CMYKcmyk(74.6%, 43%, 0%, 44.3%)
CIE-LABlab(34.42, 6.71, -38.28)
CIE-LCHlch(34.42, 38.87, 279.94°)
OKLaboklab(43.65% -0.0255 -0.1094)
OKLCHoklch(43.65% 0.112 256.9)
XYZxyz(8.5507, 8.2120, 26.7204)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24518E #8E6124
analogous
#24868E #24518E #2C248E
triadic
#24518E #8E2451 #518E24
tetradic
#24518E #8E2486 #8E6124 #248E2C
square
#24518E #8E2486 #8E6124 #248E2C
split-complementary
#24518E #8E2C24 #868E24
monochromatic
#0B192C #18355D #24518E #306DBF #588DD5

Accessibility & contrast

On white

7.95
#24518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#24518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24518E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24518E#FFFFFF#000000##FFFFFF
##24518E1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#224C8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #24518e;
/* rgb */ color: rgb(36, 81, 142);
/* oklch */ color: oklch(43.6% 0.112 256.9);
Tailwind
colors: {
  custom: {
    50: '#6d81af',
    500: '#24518e',
    950: '#000000',
  },
}
SCSS
$custom: #24518e;
$custom-light: #6d81af;
$custom-dark: #000000;
JSON
{
  "hex": "#24518e",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 214.528,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43646,
    "c": 0.11234,
    "h": 256.9
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#24518E
secondary
#B98E55
accent
#A045E3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #24518E

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

Preview Lab → · Contrast checker → · Palette generator →

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