#181176#181176

#181176 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.159 H 272.7°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#181176
RGBrgb(24, 17, 118)
HSLhsl(244, 75%, 26%)
HSVhsv(244, 86%, 46%)
CMYKcmyk(79.7%, 85.6%, 0%, 53.7%)
CIE-LABlab(14.97, 38.17, -54.93)
CIE-LCHlch(14.97, 66.89, 304.80°)
OKLaboklab(28.38% 0.0074 -0.1589)
OKLCHoklch(28.38% 0.159 272.7)
XYZxyz(3.8461, 1.9027, 17.3006)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181176 #6F7611
analogous
#113D76 #181176 #4B1176
triadic
#181176 #761811 #117618
tetradic
#181176 #76113D #6F7611 #11764B
square
#181176 #76113D #6F7611 #11764B
split-complementary
#181176 #764B11 #3D7611
monochromatic
#05041B #0D0941 #181176 #2319AB #2F22DF

Accessibility & contrast

On white

15.21
#181176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181176
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181176#FFFFFF#000000##FFFFFF
##1811761.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002174
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181176;
/* rgb */ color: rgb(24, 17, 118);
/* oklch */ color: oklch(28.4% 0.159 272.7);
Tailwind
colors: {
  custom: {
    50: '#68529f',
    500: '#181176',
    950: '#000000',
  },
}
SCSS
$custom: #181176;
$custom-light: #68529f;
$custom-dark: #000000;
JSON
{
  "hex": "#181176",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 244.158,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28384,
    "c": 0.15909,
    "h": 272.7
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#181176
secondary
#A5AD36
accent
#F136E4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #181176

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

Preview Lab → · Contrast checker → · Palette generator →

#181176 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva