#181E6A#181E6A

#181E6A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.9% C 0.130 H 271.7°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#181E6A
RGBrgb(24, 30, 106)
HSLhsl(236, 63%, 25%)
HSVhsv(236, 77%, 42%)
CMYKcmyk(77.4%, 71.7%, 0%, 58.4%)
CIE-LABlab(16.32, 26.10, -44.90)
CIE-LCHlch(16.32, 51.94, 300.17°)
OKLaboklab(28.93% 0.0038 -0.1299)
OKLCHoklch(28.93% 0.13 271.7)
XYZxyz(3.4416, 2.1630, 13.8690)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E6A #6A6418
analogous
#18476A #181E6A #3B186A
triadic
#181E6A #6A181E #1E6A18
tetradic
#181E6A #6A1847 #6A6418 #186A3B
square
#181E6A #6A1847 #6A6418 #186A3B
split-complementary
#181E6A #6A3B18 #476A18
monochromatic
#060719 #0D1038 #181E6A #232C9C #2F3ACE

Accessibility & contrast

On white

14.66
#181E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#181E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E6A
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E6A#FFFFFF#000000##FFFFFF
##181E6A1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #181e6a;
/* rgb */ color: rgb(24, 30, 106);
/* oklch */ color: oklch(28.9% 0.130 271.7);
Tailwind
colors: {
  custom: {
    50: '#635a95',
    500: '#181e6a',
    950: '#000000',
  },
}
SCSS
$custom: #181e6a;
$custom-light: #635a95;
$custom-dark: #000000;
JSON
{
  "hex": "#181e6a",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 235.61,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28931,
    "c": 0.12993,
    "h": 271.7
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#181E6A
secondary
#A0993E
accent
#DA42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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