#18244F#18244F

#18244F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.080 H 268.9°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#18244F
RGBrgb(24, 36, 79)
HSLhsl(227, 53%, 20%)
HSVhsv(227, 70%, 31%)
CMYKcmyk(69.6%, 54.4%, 0%, 69%)
CIE-LABlab(15.59, 10.89, -28.09)
CIE-LCHlch(15.59, 30.12, 291.19°)
OKLaboklab(27.64% -0.0015 -0.0804)
OKLCHoklch(27.64% 0.08 268.9)
XYZxyz(2.4184, 2.0202, 7.6581)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18244F #4F4318
analogous
#183F4F #18244F #27184F
triadic
#18244F #4F1824 #244F18
tetradic
#18244F #4F183F #4F4318 #184F27
square
#18244F #4F183F #4F4318 #184F27
split-complementary
#18244F #4F2718 #3F4F18
monochromatic
#070B17 #0A0F20 #18244F #26397E #354FAD

Accessibility & contrast

On white

14.96
#18244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#18244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18244F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18244F#FFFFFF#000000##FFFFFF
##18244F1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#02254E
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18244f;
/* rgb */ color: rgb(24, 36, 79);
/* oklch */ color: oklch(27.6% 0.080 268.9);
Tailwind
colors: {
  custom: {
    50: '#5c5e81',
    500: '#18244f',
    950: '#000000',
  },
}
SCSS
$custom: #18244f;
$custom-light: #5c5e81;
$custom-dark: #000000;
JSON
{
  "hex": "#18244f",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 226.909,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27635,
    "c": 0.08045,
    "h": 268.9
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#18244F
secondary
#86763D
accent
#BD4BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18244F

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

Preview Lab → · Contrast checker → · Palette generator →

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