#181E6E#181E6E

#181E6E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.136 H 271.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#181E6E
RGBrgb(24, 30, 110)
HSLhsl(236, 64%, 26%)
HSVhsv(236, 78%, 43%)
CMYKcmyk(78.2%, 72.7%, 0%, 56.9%)
CIE-LABlab(16.74, 27.64, -46.82)
CIE-LCHlch(16.74, 54.38, 300.56°)
OKLaboklab(29.36% 0.0033 -0.1355)
OKLCHoklch(29.36% 0.136 271.4)
XYZxyz(3.6545, 2.2481, 14.9902)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E6E #6E6818
analogous
#18496E #181E6E #3D186E
triadic
#181E6E #6E181E #1E6E18
tetradic
#181E6E #6E1849 #6E6818 #186E3D
square
#181E6E #6E1849 #6E6818 #186E3D
split-complementary
#181E6E #6E3D18 #496E18
monochromatic
#050719 #0D103C #181E6E #232CA0 #2F3AD2

Accessibility & contrast

On white

14.48
#181E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181E6E
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E6E#FFFFFF#000000##FFFFFF
##181E6E1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #181e6e;
/* rgb */ color: rgb(24, 30, 110);
/* oklch */ color: oklch(29.4% 0.136 271.4);
Tailwind
colors: {
  custom: {
    50: '#645a98',
    500: '#181e6e',
    950: '#000000',
  },
}
SCSS
$custom: #181e6e;
$custom-light: #645a98;
$custom-dark: #000000;
JSON
{
  "hex": "#181e6e",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 235.814,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29361,
    "c": 0.13553,
    "h": 271.4
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#181E6E
secondary
#A49D3E
accent
#DC41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #181E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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