#24477A#24477A

#24477A is a dark, moderate blue. Relative luminance 0.063; OKLCH L 39.9% C 0.096 H 257.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#24477A
RGBrgb(36, 71, 122)
HSLhsl(216, 54%, 31%)
HSVhsv(216, 70%, 48%)
CMYKcmyk(70.5%, 41.8%, 0%, 52.2%)
CIE-LABlab(30.12, 5.58, -32.79)
CIE-LCHlch(30.12, 33.26, 279.67°)
OKLaboklab(39.91% -0.02 -0.0934)
OKLCHoklch(39.91% 0.096 257.9)
XYZxyz(6.4924, 6.2860, 19.2798)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24477A #7A5724
analogous
#24727A #24477A #2C247A
triadic
#24477A #7A2447 #477A24
tetradic
#24477A #7A2472 #7A5724 #247A2C
square
#24477A #7A2472 #7A5724 #247A2C
split-complementary
#24477A #7A2C24 #727A24
monochromatic
#08101B #162B4B #24477A #3263A9 #4E81CB

Accessibility & contrast

On white

9.30
#24477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24477A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24477A#FFFFFF#000000##FFFFFF
##24477A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7C
Deuteranopia (green-blind)
#224379
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #24477a;
/* rgb */ color: rgb(36, 71, 122);
/* oklch */ color: oklch(39.9% 0.096 257.9);
Tailwind
colors: {
  custom: {
    50: '#6979a1',
    500: '#24477a',
    950: '#000000',
  },
}
SCSS
$custom: #24477a;
$custom-light: #6979a1;
$custom-dark: #000000;
JSON
{
  "hex": "#24477a",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 215.581,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39914,
    "c": 0.09556,
    "h": 257.9
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#24477A
secondary
#AC864D
accent
#A24ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #24477A

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

Preview Lab → · Contrast checker → · Palette generator →

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