#24344F#24344F

#24344F is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.4% C 0.053 H 260.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#24344F
RGBrgb(36, 52, 79)
HSLhsl(218, 37%, 23%)
HSVhsv(218, 54%, 31%)
CMYKcmyk(54.4%, 34.2%, 0%, 69%)
CIE-LABlab(21.56, 2.30, -18.56)
CIE-LCHlch(21.56, 18.70, 277.05°)
OKLaboklab(32.44% -0.0087 -0.0521)
OKLCHoklch(32.44% 0.053 260.5)
XYZxyz(3.3664, 3.3953, 7.8736)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24344F #4F3F24
analogous
#244A4F #24344F #29244F
triadic
#24344F #4F2434 #344F24
tetradic
#24344F #4F244A #4F3F24 #244F29
square
#24344F #4F244A #4F3F24 #244F29
split-complementary
#24344F #4F2924 #4A4F24
monochromatic
#0A0E15 #111825 #24344F #375079 #4A6BA3

Accessibility & contrast

On white

12.51
#24344F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#24344F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24344F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24344F#FFFFFF#000000##FFFFFF
##24344F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#25324E
Tritanopia (blue-blind)
#113A3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24344f;
/* rgb */ color: rgb(36, 52, 79);
/* oklch */ color: oklch(32.4% 0.053 260.5);
Tailwind
colors: {
  custom: {
    50: '#626b80',
    500: '#24344f',
    950: '#000000',
  },
}
SCSS
$custom: #24344f;
$custom-light: #626b80;
$custom-dark: #000000;
JSON
{
  "hex": "#24344f",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 79
  },
  "hsl": {
    "h": 217.674,
    "s": 37.391,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32444,
    "c": 0.05286,
    "h": 260.5
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#24344F
secondary
#826E4C
accent
#A35ACD
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #24344F

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

Preview Lab → · Contrast checker → · Palette generator →

#24344F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva