#181F44#181F44

#181F44 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.070 H 272.5°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#181F44
RGBrgb(24, 31, 68)
HSLhsl(230, 48%, 18%)
HSVhsv(230, 65%, 27%)
CMYKcmyk(64.7%, 54.4%, 0%, 73.3%)
CIE-LABlab(13.18, 10.16, -24.40)
CIE-LCHlch(13.18, 26.43, 292.61°)
OKLaboklab(25.54% 0.003 -0.0697)
OKLCHoklch(25.54% 0.07 272.5)
XYZxyz(1.9097, 1.5914, 5.6743)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181F44 #443D18
analogous
#183544 #181F44 #271844
triadic
#181F44 #44181F #1F4418
tetradic
#181F44 #441835 #443D18 #184427
square
#181F44 #441835 #443D18 #184427
split-complementary
#181F44 #442718 #354418
monochromatic
#080A17 #080A17 #181F44 #283471 #38489E

Accessibility & contrast

On white

15.93
#181F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#181F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181F44
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181F44#FFFFFF#000000##FFFFFF
##181F441.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2445
Deuteranopia (green-blind)
#062043
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181f44;
/* rgb */ color: rgb(24, 31, 68);
/* oklch */ color: oklch(25.5% 0.070 272.5);
Tailwind
colors: {
  custom: {
    50: '#5a5a78',
    500: '#181f44',
    950: '#000000',
  },
}
SCSS
$custom: #181f44;
$custom-light: #5a5a78;
$custom-dark: #000000;
JSON
{
  "hex": "#181f44",
  "rgb": {
    "r": 24,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 230.455,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25535,
    "c": 0.06974,
    "h": 272.5
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#181F44
secondary
#7B713D
accent
#C250D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181F44

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

Preview Lab → · Contrast checker → · Palette generator →

#181F44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva