#181A76#181A76

#181A76 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.151 H 271.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#181A76
RGBrgb(24, 26, 118)
HSLhsl(239, 66%, 28%)
HSVhsv(239, 80%, 46%)
CMYKcmyk(79.7%, 78%, 0%, 53.7%)
CIE-LABlab(16.70, 33.18, -52.06)
CIE-LCHlch(16.70, 61.73, 302.51°)
OKLaboklab(29.6% 0.0041 -0.1507)
OKLCHoklch(29.6% 0.151 271.5)
XYZxyz(4.0150, 2.2405, 17.3569)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A76 #767418
analogous
#184976 #181A76 #451876
triadic
#181A76 #76181A #1A7618
tetradic
#181A76 #761849 #767418 #187645
square
#181A76 #761849 #767418 #187645
split-complementary
#181A76 #764518 #497618
monochromatic
#050619 #0E0F43 #181A76 #2225A9 #3336D5

Accessibility & contrast

On white

14.50
#181A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#181A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A76
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A76#FFFFFF#000000##FFFFFF
##181A761.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #181a76;
/* rgb */ color: rgb(24, 26, 118);
/* oklch */ color: oklch(29.6% 0.151 271.5);
Tailwind
colors: {
  custom: {
    50: '#67589f',
    500: '#181a76',
    950: '#000000',
  },
}
SCSS
$custom: #181a76;
$custom-light: #67589f;
$custom-dark: #000000;
JSON
{
  "hex": "#181a76",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 238.723,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29599,
    "c": 0.15077,
    "h": 271.5
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#181A76
secondary
#ABA93F
accent
#E53FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #181A76

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

Preview Lab → · Contrast checker → · Palette generator →

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