#181E8E#181E8E

#181E8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.177 H 269.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#181E8E
RGBrgb(24, 30, 142)
HSLhsl(237, 71%, 33%)
HSVhsv(237, 83%, 56%)
CMYKcmyk(83.1%, 78.9%, 0%, 44.3%)
CIE-LABlab(20.34, 39.31, -61.23)
CIE-LCHlch(20.34, 72.76, 302.70°)
OKLaboklab(33% -0.0017 -0.1774)
OKLCHoklch(33% 0.177 269.4)
XYZxyz(5.7218, 3.0751, 25.8779)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E8E #8E8818
analogous
#18598E #181E8E #4D188E
triadic
#181E8E #8E181E #1E8E18
tetradic
#181E8E #8E1859 #8E8818 #188E4D
square
#181E8E #8E1859 #8E8818 #188E4D
split-complementary
#181E8E #8E4D18 #598E18
monochromatic
#060825 #0F135A #181E8E #2129C2 #4149DF

Accessibility & contrast

On white

13.00
#181E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#181E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E8E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E8E#FFFFFF#000000##FFFFFF
##181E8E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #181e8e;
/* rgb */ color: rgb(24, 30, 142);
/* oklch */ color: oklch(33.0% 0.177 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d5cb0',
    500: '#181e8e',
    950: '#000000',
  },
}
SCSS
$custom: #181e8e;
$custom-light: #6d5cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#181e8e",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 236.949,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32998,
    "c": 0.17738,
    "h": 269.4
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#181E8E
secondary
#C0B942
accent
#E53AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #181E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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