#181E77#181E77

#181E77 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.148 H 270.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#181E77
RGBrgb(24, 30, 119)
HSLhsl(236, 66%, 28%)
HSVhsv(236, 80%, 47%)
CMYKcmyk(79.8%, 74.8%, 0%, 53.3%)
CIE-LABlab(17.71, 31.04, -51.04)
CIE-LCHlch(17.71, 59.74, 301.31°)
OKLaboklab(30.35% 0.002 -0.1478)
OKLCHoklch(30.35% 0.148 270.8)
XYZxyz(4.1696, 2.4542, 17.7031)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E77 #777118
analogous
#184D77 #181E77 #421877
triadic
#181E77 #77181E #1E7718
tetradic
#181E77 #77184D #777118 #187742
square
#181E77 #77184D #777118 #187742
split-complementary
#181E77 #774218 #4D7718
monochromatic
#050619 #0E1144 #181E77 #222BAA #333ED6

Accessibility & contrast

On white

14.08
#181E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#181E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E77
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E77#FFFFFF#000000##FFFFFF
##181E771.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002775
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #181e77;
/* rgb */ color: rgb(24, 30, 119);
/* oklch */ color: oklch(30.4% 0.148 270.8);
Tailwind
colors: {
  custom: {
    50: '#675a9f',
    500: '#181e77',
    950: '#000000',
  },
}
SCSS
$custom: #181e77;
$custom-light: #675a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#181e77",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 236.211,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30351,
    "c": 0.14778,
    "h": 270.8
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#181E77
secondary
#ACA53F
accent
#DF3EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #181E77

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

Preview Lab → · Contrast checker → · Palette generator →

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