#181E79#181E79

#181E79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.150 H 270.7°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#181E79
RGBrgb(24, 30, 121)
HSLhsl(236, 67%, 28%)
HSVhsv(236, 80%, 47%)
CMYKcmyk(80.2%, 75.2%, 0%, 52.5%)
CIE-LABlab(17.93, 31.78, -51.96)
CIE-LCHlch(17.93, 60.91, 301.46°)
OKLaboklab(30.58% 0.0017 -0.1504)
OKLCHoklch(30.58% 0.15 270.7)
XYZxyz(4.2910, 2.5027, 18.3424)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E79 #797318
analogous
#184E79 #181E79 #421879
triadic
#181E79 #79181E #1E7918
tetradic
#181E79 #79184E #797318 #187942
square
#181E79 #79184E #797318 #187942
split-complementary
#181E79 #794218 #4E7918
monochromatic
#05061A #0E1146 #181E79 #222BAC #353FD7

Accessibility & contrast

On white

13.99
#181E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#181E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E79
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E79#FFFFFF#000000##FFFFFF
##181E791.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #181e79;
/* rgb */ color: rgb(24, 30, 121);
/* oklch */ color: oklch(30.6% 0.150 270.7);
Tailwind
colors: {
  custom: {
    50: '#675aa1',
    500: '#181e79',
    950: '#000000',
  },
}
SCSS
$custom: #181e79;
$custom-light: #675aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#181e79",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 236.289,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30575,
    "c": 0.15045,
    "h": 270.7
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#181E79
secondary
#AEA73F
accent
#DF3EEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #181E79

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

Preview Lab → · Contrast checker → · Palette generator →

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