#181DA1#181DA1

#181DA1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.1% C 0.201 H 268.6°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#181DA1
RGBrgb(24, 29, 161)
HSLhsl(238, 74%, 36%)
HSVhsv(238, 85%, 63%)
CMYKcmyk(85.1%, 82%, 0%, 36.9%)
CIE-LABlab(22.46, 46.23, -69.42)
CIE-LCHlch(22.46, 83.40, 303.67°)
OKLaboklab(35.15% -0.005 -0.2011)
OKLCHoklch(35.15% 0.201 268.6)
XYZxyz(7.2469, 3.6452, 34.0330)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181DA1 #A19C18
analogous
#1862A1 #181DA1 #5818A1
triadic
#181DA1 #A1181D #1DA118
tetradic
#181DA1 #A11862 #A19C18 #18A158
square
#181DA1 #A11862 #A19C18 #18A158
split-complementary
#181DA1 #A15818 #62A118
monochromatic
#080A36 #10136C #181DA1 #2027D6 #4F54E5

Accessibility & contrast

On white

12.14
#181DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#181DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181DA1
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181DA1#FFFFFF#000000##FFFFFF
##181DA11.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181da1;
/* rgb */ color: rgb(24, 29, 161);
/* oklch */ color: oklch(35.1% 0.201 268.6);
Tailwind
colors: {
  custom: {
    50: '#735cbe',
    500: '#181da1',
    950: '#000000',
  },
}
SCSS
$custom: #181da1;
$custom-light: #735cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#181da1",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 237.81,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3515,
    "c": 0.20112,
    "h": 268.6
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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