#181E66#181E66

#181E66 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.5% C 0.124 H 271.9°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#181E66
RGBrgb(24, 30, 102)
HSLhsl(235, 62%, 25%)
HSVhsv(235, 76%, 40%)
CMYKcmyk(76.5%, 70.6%, 0%, 60%)
CIE-LABlab(15.91, 24.55, -42.95)
CIE-LCHlch(15.91, 49.47, 299.75°)
OKLaboklab(28.51% 0.0042 -0.1242)
OKLCHoklch(28.51% 0.124 271.9)
XYZxyz(3.2384, 2.0817, 12.7989)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E66 #666018
analogous
#184566 #181E66 #391866
triadic
#181E66 #66181E #1E6618
tetradic
#181E66 #661845 #666018 #186639
square
#181E66 #661845 #666018 #186639
split-complementary
#181E66 #663918 #456618
monochromatic
#060719 #0C0F34 #181E66 #242D98 #2F3BC9

Accessibility & contrast

On white

14.83
#181E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#181E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E66
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E66#FFFFFF#000000##FFFFFF
##181E661.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #181e66;
/* rgb */ color: rgb(24, 30, 102);
/* oklch */ color: oklch(28.5% 0.124 271.9);
Tailwind
colors: {
  custom: {
    50: '#625a92',
    500: '#181e66',
    950: '#000000',
  },
}
SCSS
$custom: #181e66;
$custom-light: #625a92;
$custom-dark: #000000;
JSON
{
  "hex": "#181e66",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 235.385,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28508,
    "c": 0.12425,
    "h": 271.9
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#181E66
secondary
#9C953E
accent
#D943E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181E66

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

Preview Lab → · Contrast checker → · Palette generator →

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