#181E67#181E67

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

Color values

HEX#181E67
RGBrgb(24, 30, 103)
HSLhsl(235, 62%, 25%)
HSVhsv(235, 77%, 40%)
CMYKcmyk(76.7%, 70.9%, 0%, 59.6%)
CIE-LABlab(16.01, 24.94, -43.44)
CIE-LCHlch(16.01, 50.09, 299.86°)
OKLaboklab(28.61% 0.0041 -0.1256)
OKLCHoklch(28.61% 0.126 271.9)
XYZxyz(3.2883, 2.1017, 13.0617)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E67 #676118
analogous
#184667 #181E67 #3A1867
triadic
#181E67 #67181E #1E6718
tetradic
#181E67 #671846 #676118 #18673A
square
#181E67 #671846 #676118 #18673A
split-complementary
#181E67 #673A18 #466718
monochromatic
#060719 #0C1035 #181E67 #242C99 #2F3BCA

Accessibility & contrast

On white

14.78
#181E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181E67
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E67#FFFFFF#000000##FFFFFF
##181E671.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002466
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #181e67;
/* rgb */ color: rgb(24, 30, 103);
/* oklch */ color: oklch(28.6% 0.126 271.9);
Tailwind
colors: {
  custom: {
    50: '#625a93',
    500: '#181e67',
    950: '#000000',
  },
}
SCSS
$custom: #181e67;
$custom-light: #625a93;
$custom-dark: #000000;
JSON
{
  "hex": "#181e67",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 235.443,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28613,
    "c": 0.12568,
    "h": 271.9
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181E67

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

Preview Lab → · Contrast checker → · Palette generator →

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