#181E70#181E70

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

Color values

HEX#181E70
RGBrgb(24, 30, 112)
HSLhsl(236, 65%, 27%)
HSVhsv(236, 79%, 44%)
CMYKcmyk(78.6%, 73.2%, 0%, 56.1%)
CIE-LABlab(16.95, 28.40, -47.77)
CIE-LCHlch(16.95, 55.58, 300.73°)
OKLaboklab(29.58% 0.003 -0.1383)
OKLCHoklch(29.58% 0.138 271.3)
XYZxyz(3.7646, 2.2922, 15.5701)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E70 #706A18
analogous
#184A70 #181E70 #3E1870
triadic
#181E70 #70181E #1E7018
tetradic
#181E70 #70184A #706A18 #18703E
square
#181E70 #70184A #706A18 #18703E
split-complementary
#181E70 #703E18 #4A7018
monochromatic
#050719 #0D113E #181E70 #232CA2 #303BD3

Accessibility & contrast

On white

14.40
#181E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#181E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E70
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E70#FFFFFF#000000##FFFFFF
##181E701.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #181e70;
/* rgb */ color: rgb(24, 30, 112);
/* oklch */ color: oklch(29.6% 0.138 271.3);
Tailwind
colors: {
  custom: {
    50: '#655a9a',
    500: '#181e70',
    950: '#000000',
  },
}
SCSS
$custom: #181e70;
$custom-light: #655a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#181e70",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 235.909,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29578,
    "c": 0.13829,
    "h": 271.3
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181E70

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

Preview Lab → · Contrast checker → · Palette generator →

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