#181EA1#181EA1

#181EA1 is a dark, highly saturated blue. Relative luminance 0.037; OKLCH L 35.3% C 0.200 H 268.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#181EA1
RGBrgb(24, 30, 161)
HSLhsl(237, 74%, 36%)
HSVhsv(237, 85%, 63%)
CMYKcmyk(85.1%, 81.4%, 0%, 36.9%)
CIE-LABlab(22.64, 45.72, -69.13)
CIE-LCHlch(22.64, 82.88, 303.48°)
OKLaboklab(35.27% -0.0052 -0.2002)
OKLCHoklch(35.27% 0.2 268.5)
XYZxyz(7.2718, 3.6951, 34.0413)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181EA1 #A19B18
analogous
#1863A1 #181EA1 #5718A1
triadic
#181EA1 #A1181E #1EA118
tetradic
#181EA1 #A11863 #A19B18 #18A157
square
#181EA1 #A11863 #A19B18 #18A157
split-complementary
#181EA1 #A15718 #63A118
monochromatic
#080A36 #10146C #181EA1 #2028D6 #4F55E5

Accessibility & contrast

On white

12.07
#181EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#181EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181EA1
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181EA1#FFFFFF#000000##FFFFFF
##181EA11.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #181ea1;
/* rgb */ color: rgb(24, 30, 161);
/* oklch */ color: oklch(35.3% 0.200 268.5);
Tailwind
colors: {
  custom: {
    50: '#735dbe',
    500: '#181ea1',
    950: '#000000',
  },
}
SCSS
$custom: #181ea1;
$custom-light: #735dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#181ea1",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 237.372,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35272,
    "c": 0.20031,
    "h": 268.5
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#181EA1
secondary
#C7C24E
accent
#E937F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #181EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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