#181BA1#181BA1

#181BA1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 34.9% C 0.203 H 268.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#181BA1
RGBrgb(24, 27, 161)
HSLhsl(239, 74%, 36%)
HSVhsv(239, 85%, 63%)
CMYKcmyk(85.1%, 83.2%, 0%, 36.9%)
CIE-LABlab(22.13, 47.22, -69.98)
CIE-LCHlch(22.13, 84.42, 304.01°)
OKLaboklab(34.92% -0.0047 -0.2026)
OKLCHoklch(34.92% 0.203 268.7)
XYZxyz(7.1994, 3.5504, 34.0171)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181BA1 #A19E18
analogous
#1860A1 #181BA1 #5A18A1
triadic
#181BA1 #A1181B #1BA118
tetradic
#181BA1 #A11860 #A19E18 #18A15A
square
#181BA1 #A11860 #A19E18 #18A15A
split-complementary
#181BA1 #A15A18 #60A118
monochromatic
#080936 #10126C #181BA1 #2024D6 #4F52E5

Accessibility & contrast

On white

12.28
#181BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#181BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181BA1
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181BA1#FFFFFF#000000##FFFFFF
##181BA11.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #181ba1;
/* rgb */ color: rgb(24, 27, 161);
/* oklch */ color: oklch(34.9% 0.203 268.7);
Tailwind
colors: {
  custom: {
    50: '#735bbe',
    500: '#181ba1',
    950: '#000000',
  },
}
SCSS
$custom: #181ba1;
$custom-light: #735bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#181ba1",
  "rgb": {
    "r": 24,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 238.686,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34916,
    "c": 0.20269,
    "h": 268.7
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#181BA1
secondary
#C7C44E
accent
#ED37F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #181BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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