#24538B#24538B

#24538B is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.106 H 254.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#24538B
RGBrgb(36, 83, 139)
HSLhsl(213, 59%, 34%)
HSVhsv(213, 74%, 55%)
CMYKcmyk(74.1%, 40.3%, 0%, 45.5%)
CIE-LABlab(34.85, 4.22, -35.76)
CIE-LCHlch(34.85, 36.01, 276.74°)
OKLaboklab(43.92% -0.0282 -0.102)
OKLCHoklch(43.92% 0.106 254.5)
XYZxyz(8.4793, 8.4247, 25.6003)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24538B #8B5C24
analogous
#24878B #24538B #28248B
triadic
#24538B #8B2453 #538B24
tetradic
#24538B #8B2487 #8B5C24 #248B28
square
#24538B #8B2487 #8B5C24 #248B28
split-complementary
#24538B #8B2824 #878B24
monochromatic
#0B192A #17365A #24538B #3170BC #568FD3

Accessibility & contrast

On white

7.82
#24538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24538B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24538B#FFFFFF#000000##FFFFFF
##24538B1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #24538b;
/* rgb */ color: rgb(36, 83, 139);
/* oklch */ color: oklch(43.9% 0.106 254.5);
Tailwind
colors: {
  custom: {
    50: '#6d82ad',
    500: '#24538b',
    950: '#000000',
  },
}
SCSS
$custom: #24538b;
$custom-light: #6d82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24538b",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 212.621,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43923,
    "c": 0.10579,
    "h": 254.5
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24538B

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

Preview Lab → · Contrast checker → · Palette generator →

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