#18244C#18244C

#18244C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.076 H 268.5°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#18244C
RGBrgb(24, 36, 76)
HSLhsl(226, 52%, 20%)
HSVhsv(226, 68%, 30%)
CMYKcmyk(68.4%, 52.6%, 0%, 70.2%)
CIE-LABlab(15.37, 9.65, -26.40)
CIE-LCHlch(15.37, 28.11, 290.09°)
OKLaboklab(27.39% -0.002 -0.0755)
OKLCHoklch(27.39% 0.076 268.5)
XYZxyz(2.3116, 1.9775, 7.0960)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18244C #4C4018
analogous
#183E4C #18244C #26184C
triadic
#18244C #4C1824 #244C18
tetradic
#18244C #4C183E #4C4018 #184C26
square
#18244C #4C183E #4C4018 #184C26
split-complementary
#18244C #4C2618 #3E4C18
monochromatic
#070B17 #090E1D #18244C #273A7B #3550A9

Accessibility & contrast

On white

15.05
#18244C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18244C
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18244C#FFFFFF#000000##FFFFFF
##18244C1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294D
Deuteranopia (green-blind)
#07244B
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #18244c;
/* rgb */ color: rgb(24, 36, 76);
/* oklch */ color: oklch(27.4% 0.076 268.5);
Tailwind
colors: {
  custom: {
    50: '#5b5e7e',
    500: '#18244c',
    950: '#000000',
  },
}
SCSS
$custom: #18244c;
$custom-light: #5b5e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#18244c",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 76
  },
  "hsl": {
    "h": 226.154,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27392,
    "c": 0.07551,
    "h": 268.5
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#18244C
secondary
#83733D
accent
#BA4CDB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18244C

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

Preview Lab → · Contrast checker → · Palette generator →

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