#18244E#18244E

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

Color values

HEX#18244E
RGBrgb(24, 36, 78)
HSLhsl(227, 53%, 20%)
HSVhsv(227, 69%, 31%)
CMYKcmyk(69.2%, 53.8%, 0%, 69.4%)
CIE-LABlab(15.52, 10.47, -27.53)
CIE-LCHlch(15.52, 29.45, 290.83°)
OKLaboklab(27.55% -0.0017 -0.0788)
OKLCHoklch(27.55% 0.079 268.8)
XYZxyz(2.3822, 2.0058, 7.4679)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18244E #4E4218
analogous
#183F4E #18244E #27184E
triadic
#18244E #4E1824 #244E18
tetradic
#18244E #4E183F #4E4218 #184E27
square
#18244E #4E183F #4E4218 #184E27
split-complementary
#18244E #4E2718 #3F4E18
monochromatic
#070B17 #0A0E1F #18244E #263A7D #354FAC

Accessibility & contrast

On white

14.99
#18244E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18244E
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18244E#FFFFFF#000000##FFFFFF
##18244E1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2950
Deuteranopia (green-blind)
#04244D
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18244e;
/* rgb */ color: rgb(24, 36, 78);
/* oklch */ color: oklch(27.6% 0.079 268.8);
Tailwind
colors: {
  custom: {
    50: '#5b5e80',
    500: '#18244e',
    950: '#000000',
  },
}
SCSS
$custom: #18244e;
$custom-light: #5b5e80;
$custom-dark: #000000;
JSON
{
  "hex": "#18244e",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 78
  },
  "hsl": {
    "h": 226.667,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.27553,
    "c": 0.07881,
    "h": 268.8
  },
  "luminance": 0.02006
}

Semantic roles & 50–950 ramp

primary
#18244E
secondary
#85753D
accent
#BC4BDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18244E

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

Preview Lab → · Contrast checker → · Palette generator →

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