#181C76#181C76

#181C76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.149 H 271.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#181C76
RGBrgb(24, 28, 118)
HSLhsl(237, 66%, 28%)
HSVhsv(237, 80%, 46%)
CMYKcmyk(79.7%, 76.3%, 0%, 53.7%)
CIE-LABlab(17.14, 31.94, -51.33)
CIE-LCHlch(17.14, 60.46, 301.89°)
OKLaboklab(29.91% 0.0032 -0.1486)
OKLCHoklch(29.91% 0.149 271.2)
XYZxyz(4.0608, 2.3323, 17.3722)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C76 #767218
analogous
#184B76 #181C76 #431876
triadic
#181C76 #76181C #1C7618
tetradic
#181C76 #76184B #767218 #187643
square
#181C76 #76184B #767218 #187643
split-complementary
#181C76 #764318 #4B7618
monochromatic
#050619 #0E1043 #181C76 #2228A9 #333AD5

Accessibility & contrast

On white

14.32
#181C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#181C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C76
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C76#FFFFFF#000000##FFFFFF
##181C761.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #181c76;
/* rgb */ color: rgb(24, 28, 118);
/* oklch */ color: oklch(29.9% 0.149 271.2);
Tailwind
colors: {
  custom: {
    50: '#67599f',
    500: '#181c76',
    950: '#000000',
  },
}
SCSS
$custom: #181c76;
$custom-light: #67599f;
$custom-dark: #000000;
JSON
{
  "hex": "#181c76",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 237.447,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29912,
    "c": 0.14865,
    "h": 271.2
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#181C76
secondary
#ABA63F
accent
#E23FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #181C76

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

Preview Lab → · Contrast checker → · Palette generator →

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