#24377E#24377E

#24377E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.122 H 268.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#24377E
RGBrgb(36, 55, 126)
HSLhsl(227, 56%, 32%)
HSVhsv(227, 71%, 49%)
CMYKcmyk(71.4%, 56.3%, 0%, 50.6%)
CIE-LABlab(25.60, 18.18, -42.56)
CIE-LCHlch(25.60, 46.28, 293.14°)
OKLaboklab(36.54% -0.0034 -0.1224)
OKLCHoklch(36.54% 0.122 268.4)
XYZxyz(5.8583, 4.6132, 20.3163)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24377E #7E6B24
analogous
#24647E #24377E #3E247E
triadic
#24377E #7E2437 #377E24
tetradic
#24377E #7E2464 #7E6B24 #247E3E
square
#24377E #7E2464 #7E6B24 #247E3E
split-complementary
#24377E #7E3E24 #647E24
monochromatic
#090D1F #16224E #24377E #324CAE #506ACD

Accessibility & contrast

On white

10.92
#24377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#24377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24377E
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24377E#FFFFFF#000000##FFFFFF
##24377E1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014180
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #24377e;
/* rgb */ color: rgb(36, 55, 126);
/* oklch */ color: oklch(36.5% 0.122 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b6da4',
    500: '#24377e',
    950: '#000000',
  },
}
SCSS
$custom: #24377e;
$custom-light: #6b6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#24377e",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 227.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36543,
    "c": 0.12248,
    "h": 268.4
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#24377E
secondary
#B09B4E
accent
#BF49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24377E

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

Preview Lab → · Contrast checker → · Palette generator →

#24377E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva