#18244B#18244B

#18244B is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.3% C 0.074 H 268.3°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#18244B
RGBrgb(24, 36, 75)
HSLhsl(226, 52%, 19%)
HSVhsv(226, 68%, 29%)
CMYKcmyk(68%, 52%, 0%, 70.6%)
CIE-LABlab(15.30, 9.25, -25.83)
CIE-LCHlch(15.30, 27.44, 289.69°)
OKLaboklab(27.31% -0.0021 -0.0738)
OKLCHoklch(27.31% 0.074 268.3)
XYZxyz(2.2771, 1.9637, 6.9143)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18244B #4B3F18
analogous
#183E4B #18244B #26184B
triadic
#18244B #4B1824 #244B18
tetradic
#18244B #4B183E #4B3F18 #184B26
square
#18244B #4B183E #4B3F18 #184B26
split-complementary
#18244B #4B2618 #3E4B18
monochromatic
#070B17 #090E1D #18244B #273A79 #3651A8

Accessibility & contrast

On white

15.08
#18244B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18244B
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18244B#FFFFFF#000000##FFFFFF
##18244B1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294C
Deuteranopia (green-blind)
#08244A
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #18244b;
/* rgb */ color: rgb(24, 36, 75);
/* oklch */ color: oklch(27.3% 0.074 268.3);
Tailwind
colors: {
  custom: {
    50: '#5b5e7d',
    500: '#18244b',
    950: '#000000',
  },
}
SCSS
$custom: #18244b;
$custom-light: #5b5e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#18244b",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 75
  },
  "hsl": {
    "h": 225.882,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27313,
    "c": 0.07385,
    "h": 268.3
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#18244B
secondary
#82723D
accent
#BA4DDB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18244B

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

Preview Lab → · Contrast checker → · Palette generator →

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