#24507F#24507F

#24507F is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.092 H 252.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#24507F
RGBrgb(36, 80, 127)
HSLhsl(211, 56%, 32%)
HSVhsv(211, 72%, 50%)
CMYKcmyk(71.7%, 37%, 0%, 50.2%)
CIE-LABlab(33.23, 1.55, -30.96)
CIE-LCHlch(33.23, 31.00, 272.86°)
OKLaboklab(42.43% -0.0283 -0.088)
OKLCHoklch(42.43% 0.092 252.2)
XYZxyz(7.4256, 7.6439, 21.1586)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24507F #7F5324
analogous
#247E7F #24507F #26247F
triadic
#24507F #7F2450 #507F24
tetradic
#24507F #7F247E #7F5324 #247F26
square
#24507F #7F247E #7F5324 #247F26
split-complementary
#24507F #7F2624 #7E7F24
monochromatic
#091420 #16324F #24507F #326EAF #508DCD

Accessibility & contrast

On white

8.30
#24507F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#24507F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24507F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24507F#FFFFFF#000000##FFFFFF
##24507F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5381
Deuteranopia (green-blind)
#2E4A7E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #24507f;
/* rgb */ color: rgb(36, 80, 127);
/* oklch */ color: oklch(42.4% 0.092 252.2);
Tailwind
colors: {
  custom: {
    50: '#6a80a4',
    500: '#24507f',
    950: '#000000',
  },
}
SCSS
$custom: #24507f;
$custom-light: #6a80a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24507f",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 210.989,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42431,
    "c": 0.0924,
    "h": 252.2
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#24507F
secondary
#B1814E
accent
#9649DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #24507F

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

Preview Lab → · Contrast checker → · Palette generator →

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