#181E6F#181E6F

#181E6F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.137 H 271.3°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#181E6F
RGBrgb(24, 30, 111)
HSLhsl(236, 64%, 26%)
HSVhsv(236, 78%, 44%)
CMYKcmyk(78.4%, 73%, 0%, 56.5%)
CIE-LABlab(16.84, 28.02, -47.30)
CIE-LCHlch(16.84, 54.98, 300.65°)
OKLaboklab(29.47% 0.0032 -0.1369)
OKLCHoklch(29.47% 0.137 271.3)
XYZxyz(3.7092, 2.2700, 15.2785)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E6F #6F6918
analogous
#184A6F #181E6F #3E186F
triadic
#181E6F #6F181E #1E6F18
tetradic
#181E6F #6F184A #6F6918 #186F3E
square
#181E6F #6F184A #6F6918 #186F3E
split-complementary
#181E6F #6F3E18 #4A6F18
monochromatic
#050719 #0D103D #181E6F #232CA1 #2F3BD2

Accessibility & contrast

On white

14.44
#181E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#181E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E6F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E6F#FFFFFF#000000##FFFFFF
##181E6F1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #181e6f;
/* rgb */ color: rgb(24, 30, 111);
/* oklch */ color: oklch(29.5% 0.137 271.3);
Tailwind
colors: {
  custom: {
    50: '#655a99',
    500: '#181e6f',
    950: '#000000',
  },
}
SCSS
$custom: #181e6f;
$custom-light: #655a99;
$custom-dark: #000000;
JSON
{
  "hex": "#181e6f",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 235.862,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29469,
    "c": 0.13691,
    "h": 271.3
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#181E6F
secondary
#A59E3E
accent
#DC40E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #181E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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