#18244A#18244A

#18244A is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.072 H 268.2°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#18244A
RGBrgb(24, 36, 74)
HSLhsl(226, 51%, 19%)
HSVhsv(226, 68%, 29%)
CMYKcmyk(67.6%, 51.4%, 0%, 71%)
CIE-LABlab(15.22, 8.84, -25.26)
CIE-LCHlch(15.22, 26.76, 289.28°)
OKLaboklab(27.23% -0.0023 -0.0721)
OKLCHoklch(27.23% 0.072 268.2)
XYZxyz(2.2432, 1.9502, 6.7354)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18244A #4A3E18
analogous
#183D4A #18244A #25184A
triadic
#18244A #4A1824 #244A18
tetradic
#18244A #4A183D #4A3E18 #184A25
square
#18244A #4A183D #4A3E18 #184A25
split-complementary
#18244A #4A2518 #3D4A18
monochromatic
#070B17 #090E1C #18244A #273A78 #3651A6

Accessibility & contrast

On white

15.11
#18244A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#18244A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18244A
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18244A#FFFFFF#000000##FFFFFF
##18244A1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12294B
Deuteranopia (green-blind)
#0A2449
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #18244a;
/* rgb */ color: rgb(24, 36, 74);
/* oklch */ color: oklch(27.2% 0.072 268.2);
Tailwind
colors: {
  custom: {
    50: '#5b5e7d',
    500: '#18244a',
    950: '#000000',
  },
}
SCSS
$custom: #18244a;
$custom-light: #5b5e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#18244a",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 74
  },
  "hsl": {
    "h": 225.6,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27234,
    "c": 0.07218,
    "h": 268.2
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#18244A
secondary
#81713D
accent
#B94DDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #18244A

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

Preview Lab → · Contrast checker → · Palette generator →

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