#181CA1#181CA1

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

Color values

HEX#181CA1
RGBrgb(24, 28, 161)
HSLhsl(238, 74%, 36%)
HSVhsv(238, 85%, 63%)
CMYKcmyk(85.1%, 82.6%, 0%, 36.9%)
CIE-LABlab(22.29, 46.73, -69.70)
CIE-LCHlch(22.29, 83.92, 303.84°)
OKLaboklab(35.03% -0.0048 -0.2019)
OKLCHoklch(35.03% 0.202 268.6)
XYZxyz(7.2228, 3.5970, 34.0249)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181CA1 #A19D18
analogous
#1861A1 #181CA1 #5918A1
triadic
#181CA1 #A1181C #1CA118
tetradic
#181CA1 #A11861 #A19D18 #18A159
square
#181CA1 #A11861 #A19D18 #18A159
split-complementary
#181CA1 #A15918 #61A118
monochromatic
#080936 #10136C #181CA1 #2025D6 #4F53E5

Accessibility & contrast

On white

12.21
#181CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#181CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181CA1
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181CA1#FFFFFF#000000##FFFFFF
##181CA11.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181ca1;
/* rgb */ color: rgb(24, 28, 161);
/* oklch */ color: oklch(35.0% 0.202 268.6);
Tailwind
colors: {
  custom: {
    50: '#735cbe',
    500: '#181ca1',
    950: '#000000',
  },
}
SCSS
$custom: #181ca1;
$custom-light: #735cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#181ca1",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 238.248,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35032,
    "c": 0.20192,
    "h": 268.6
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#181CA1
secondary
#C7C34E
accent
#EB37F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #181CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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