#181A80#181A80

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

Color values

HEX#181A80
RGBrgb(24, 26, 128)
HSLhsl(239, 68%, 30%)
HSVhsv(239, 81%, 50%)
CMYKcmyk(81.3%, 79.7%, 0%, 49.8%)
CIE-LABlab(17.88, 36.73, -56.51)
CIE-LCHlch(17.88, 67.39, 303.02°)
OKLaboklab(30.78% 0.0021 -0.1636)
OKLCHoklch(30.78% 0.164 270.7)
XYZxyz(4.6410, 2.4910, 20.6541)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A80 #807E18
analogous
#184E80 #181A80 #4A1880
triadic
#181A80 #80181A #1A8018
tetradic
#181A80 #80184E #807E18 #18804A
square
#181A80 #80184E #807E18 #18804A
split-complementary
#181A80 #804A18 #4E8018
monochromatic
#05051A #0E104C #181A80 #2224B4 #393CDA

Accessibility & contrast

On white

14.02
#181A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181A80
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A80#FFFFFF#000000##FFFFFF
##181A801.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #181a80;
/* rgb */ color: rgb(24, 26, 128);
/* oklch */ color: oklch(30.8% 0.164 270.7);
Tailwind
colors: {
  custom: {
    50: '#6a58a6',
    500: '#181a80',
    950: '#000000',
  },
}
SCSS
$custom: #181a80;
$custom-light: #6a58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#181a80",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 238.846,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.30775,
    "c": 0.16364,
    "h": 270.7
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#181A80
secondary
#B4B240
accent
#E83DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #181A80

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

Preview Lab → · Contrast checker → · Palette generator →

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