#24518F#24518F

#24518F is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.7% C 0.114 H 257.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#24518F
RGBrgb(36, 81, 143)
HSLhsl(215, 60%, 35%)
HSVhsv(215, 75%, 56%)
CMYKcmyk(74.8%, 43.4%, 0%, 43.9%)
CIE-LABlab(34.48, 7.10, -38.79)
CIE-LCHlch(34.48, 39.44, 280.37°)
OKLaboklab(43.71% -0.0253 -0.1109)
OKLCHoklch(43.71% 0.114 257.1)
XYZxyz(8.6261, 8.2421, 27.1176)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24518F #8F6224
analogous
#24878F #24518F #2C248F
triadic
#24518F #8F2451 #518F24
tetradic
#24518F #8F2487 #8F6224 #248F2C
square
#24518F #8F2487 #8F6224 #248F2C
split-complementary
#24518F #8F2C24 #878F24
monochromatic
#0B1A2D #18355E #24518F #306DC0 #588DD5

Accessibility & contrast

On white

7.93
#24518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#24518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24518F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24518F#FFFFFF#000000##FFFFFF
##24518F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#204D8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #24518f;
/* rgb */ color: rgb(36, 81, 143);
/* oklch */ color: oklch(43.7% 0.114 257.1);
Tailwind
colors: {
  custom: {
    50: '#6e81b0',
    500: '#24518f',
    950: '#000000',
  },
}
SCSS
$custom: #24518f;
$custom-light: #6e81b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24518f",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 214.766,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43714,
    "c": 0.11375,
    "h": 257.1
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#24518F
secondary
#B98F55
accent
#A045E3
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #24518F

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

Preview Lab → · Contrast checker → · Palette generator →

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