#181E76#181E76

#181E76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.146 H 270.9°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#181E76
RGBrgb(24, 30, 118)
HSLhsl(236, 66%, 28%)
HSVhsv(236, 80%, 46%)
CMYKcmyk(79.7%, 74.6%, 0%, 53.7%)
CIE-LABlab(17.60, 30.67, -50.58)
CIE-LCHlch(17.60, 59.15, 301.23°)
OKLaboklab(30.24% 0.0022 -0.1464)
OKLCHoklch(30.24% 0.146 270.9)
XYZxyz(4.1099, 2.4303, 17.3885)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E76 #767018
analogous
#184D76 #181E76 #411876
triadic
#181E76 #76181E #1E7618
tetradic
#181E76 #76184D #767018 #187641
square
#181E76 #76184D #767018 #187641
split-complementary
#181E76 #764118 #4D7618
monochromatic
#050619 #0E1143 #181E76 #222BA9 #333DD5

Accessibility & contrast

On white

14.13
#181E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#181E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E76
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E76#FFFFFF#000000##FFFFFF
##181E761.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #181e76;
/* rgb */ color: rgb(24, 30, 118);
/* oklch */ color: oklch(30.2% 0.146 270.9);
Tailwind
colors: {
  custom: {
    50: '#675a9e',
    500: '#181e76',
    950: '#000000',
  },
}
SCSS
$custom: #181e76;
$custom-light: #675a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#181e76",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 236.17,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30239,
    "c": 0.14645,
    "h": 270.9
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#181E76
secondary
#ABA43F
accent
#DE3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #181E76

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

Preview Lab → · Contrast checker → · Palette generator →

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