#24477B#24477B

#24477B is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.097 H 258.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#24477B
RGBrgb(36, 71, 123)
HSLhsl(216, 55%, 31%)
HSVhsv(216, 71%, 48%)
CMYKcmyk(70.7%, 42.3%, 0%, 51.8%)
CIE-LABlab(30.18, 5.97, -33.31)
CIE-LCHlch(30.18, 33.85, 280.17°)
OKLaboklab(39.98% -0.0198 -0.095)
OKLCHoklch(39.98% 0.097 258.2)
XYZxyz(6.5547, 6.3109, 19.6077)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24477B #7B5824
analogous
#24727B #24477B #2C247B
triadic
#24477B #7B2447 #477B24
tetradic
#24477B #7B2472 #7B5824 #247B2C
square
#24477B #7B2472 #7B5824 #247B2C
split-complementary
#24477B #7B2C24 #727B24
monochromatic
#08101C #162C4C #24477B #3262AA #4E80CB

Accessibility & contrast

On white

9.28
#24477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#24477B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24477B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24477B#FFFFFF#000000##FFFFFF
##24477B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7D
Deuteranopia (green-blind)
#21437A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #24477b;
/* rgb */ color: rgb(36, 71, 123);
/* oklch */ color: oklch(40.0% 0.097 258.2);
Tailwind
colors: {
  custom: {
    50: '#6a79a1',
    500: '#24477b',
    950: '#000000',
  },
}
SCSS
$custom: #24477b;
$custom-light: #6a79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#24477b",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 215.862,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39981,
    "c": 0.09702,
    "h": 258.2
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#24477B
secondary
#AD874D
accent
#A24ADE
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #24477B

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

Preview Lab → · Contrast checker → · Palette generator →

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