#181E4B#181E4B

#181E4B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.083 H 273.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#181E4B
RGBrgb(24, 30, 75)
HSLhsl(233, 52%, 19%)
HSVhsv(233, 68%, 29%)
CMYKcmyk(68%, 60%, 0%, 70.6%)
CIE-LABlab(13.42, 13.75, -28.86)
CIE-LCHlch(13.42, 31.97, 295.47°)
OKLaboklab(25.89% 0.005 -0.0828)
OKLCHoklch(25.89% 0.083 273.4)
XYZxyz(2.1105, 1.6306, 6.8588)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E4B #4B4518
analogous
#18384B #181E4B #2C184B
triadic
#181E4B #4B181E #1E4B18
tetradic
#181E4B #4B1838 #4B4518 #184B2C
square
#181E4B #4B1838 #4B4518 #184B2C
split-complementary
#181E4B #4B2C18 #384B18
monochromatic
#070917 #090B1D #181E4B #273179 #3643A8

Accessibility & contrast

On white

15.83
#181E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#181E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E4B
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E4B#FFFFFF#000000##FFFFFF
##181E4B1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181e4b;
/* rgb */ color: rgb(24, 30, 75);
/* oklch */ color: oklch(25.9% 0.083 273.4);
Tailwind
colors: {
  custom: {
    50: '#5b597e',
    500: '#181e4b',
    950: '#000000',
  },
}
SCSS
$custom: #181e4b;
$custom-light: #5b597e;
$custom-dark: #000000;
JSON
{
  "hex": "#181e4b",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 232.941,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2589,
    "c": 0.08296,
    "h": 273.4
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#181E4B
secondary
#827A3D
accent
#CA4DDB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #181E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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