#24538C#24538C

#24538C is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.107 H 254.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#24538C
RGBrgb(36, 83, 140)
HSLhsl(213, 59%, 35%)
HSVhsv(213, 74%, 55%)
CMYKcmyk(74.3%, 40.7%, 0%, 45.1%)
CIE-LABlab(34.91, 4.61, -36.28)
CIE-LCHlch(34.91, 36.57, 277.24°)
OKLaboklab(43.99% -0.0279 -0.1035)
OKLCHoklch(43.99% 0.107 254.9)
XYZxyz(8.5527, 8.4541, 25.9869)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24538C #8C5D24
analogous
#24878C #24538C #29248C
triadic
#24538C #8C2453 #538C24
tetradic
#24538C #8C2487 #8C5D24 #248C29
square
#24538C #8C2487 #8C5D24 #248C29
split-complementary
#24538C #8C2924 #878C24
monochromatic
#0B192B #17365B #24538C #3170BD #578FD4

Accessibility & contrast

On white

7.80
#24538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#24538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24538C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24538C#FFFFFF#000000##FFFFFF
##24538C1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #24538c;
/* rgb */ color: rgb(36, 83, 140);
/* oklch */ color: oklch(44.0% 0.107 254.9);
Tailwind
colors: {
  custom: {
    50: '#6d82ae',
    500: '#24538c',
    950: '#000000',
  },
}
SCSS
$custom: #24538c;
$custom-light: #6d82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24538c",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 212.885,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.1072,
    "h": 254.9
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#24538C
secondary
#B88B54
accent
#9B46E2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #24538C

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

Preview Lab → · Contrast checker → · Palette generator →

#24538C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva