#181244#181244

#181244 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.090 H 281.9°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#181244
RGBrgb(24, 18, 68)
HSLhsl(247, 58%, 17%)
HSVhsv(247, 74%, 27%)
CMYKcmyk(64.7%, 73.5%, 0%, 73.3%)
CIE-LABlab(9.35, 19.82, -30.59)
CIE-LCHlch(9.35, 36.45, 302.94°)
OKLaboklab(22.69% 0.0186 -0.088)
OKLCHoklch(22.69% 0.09 281.9)
XYZxyz(1.6361, 1.0441, 5.5830)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181244 #3E4412
analogous
#122544 #181244 #311244
triadic
#181244 #441812 #124418
tetradic
#181244 #441225 #3E4412 #124431
square
#181244 #441225 #3E4412 #124431
split-complementary
#181244 #443112 #254412
monochromatic
#090618 #090618 #181244 #291F74 #3A2CA5

Accessibility & contrast

On white

17.37
#181244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#181244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181244
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181244#FFFFFF#000000##FFFFFF
##1812441.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001843
Tritanopia (blue-blind)
#021F29
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #181244;
/* rgb */ color: rgb(24, 18, 68);
/* oklch */ color: oklch(22.7% 0.090 281.9);
Tailwind
colors: {
  custom: {
    50: '#5b5078',
    500: '#181244',
    950: '#000000',
  },
}
SCSS
$custom: #181244;
$custom-light: #5b5078;
$custom-dark: #000000;
JSON
{
  "hex": "#181244",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 247.2,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22694,
    "c": 0.08994,
    "h": 281.9
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#181244
secondary
#747D35
accent
#E146CF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181244

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

Preview Lab → · Contrast checker → · Palette generator →

#181244 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva