#181E6D#181E6D

#181E6D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.134 H 271.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#181E6D
RGBrgb(24, 30, 109)
HSLhsl(236, 64%, 26%)
HSVhsv(236, 78%, 43%)
CMYKcmyk(78%, 72.5%, 0%, 57.3%)
CIE-LABlab(16.63, 27.26, -46.35)
CIE-LCHlch(16.63, 53.77, 300.46°)
OKLaboklab(29.25% 0.0034 -0.1341)
OKLCHoklch(29.25% 0.134 271.5)
XYZxyz(3.6003, 2.2265, 14.7050)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E6D #6D6718
analogous
#18486D #181E6D #3C186D
triadic
#181E6D #6D181E #1E6D18
tetradic
#181E6D #6D1848 #6D6718 #186D3C
square
#181E6D #6D1848 #6D6718 #186D3C
split-complementary
#181E6D #6D3C18 #486D18
monochromatic
#060719 #0D103B #181E6D #232C9F #2E3AD1

Accessibility & contrast

On white

14.53
#181E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181E6D
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E6D#FFFFFF#000000##FFFFFF
##181E6D1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181e6d;
/* rgb */ color: rgb(24, 30, 109);
/* oklch */ color: oklch(29.3% 0.134 271.5);
Tailwind
colors: {
  custom: {
    50: '#645a98',
    500: '#181e6d',
    950: '#000000',
  },
}
SCSS
$custom: #181e6d;
$custom-light: #645a98;
$custom-dark: #000000;
JSON
{
  "hex": "#181e6d",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 235.765,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29252,
    "c": 0.13413,
    "h": 271.5
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#181E6D
secondary
#A39C3E
accent
#DB41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #181E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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