#181076#181076

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

Color values

HEX#181076
RGBrgb(24, 16, 118)
HSLhsl(245, 76%, 26%)
HSVhsv(245, 86%, 46%)
CMYKcmyk(79.7%, 86.4%, 0%, 53.7%)
CIE-LABlab(14.80, 38.66, -55.21)
CIE-LCHlch(14.80, 67.40, 305.00°)
OKLaboklab(28.27% 0.0077 -0.1597)
OKLCHoklch(28.27% 0.16 272.7)
XYZxyz(3.8309, 1.8724, 17.2955)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181076 #6E7610
analogous
#103B76 #181076 #4B1076
triadic
#181076 #761810 #107618
tetradic
#181076 #76103B #6E7610 #10764B
square
#181076 #76103B #6E7610 #10764B
split-complementary
#181076 #764B10 #3B7610
monochromatic
#05041B #0D0940 #181076 #2317AC #2F20E1

Accessibility & contrast

On white

15.28
#181076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#181076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181076
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181076#FFFFFF#000000##FFFFFF
##1810761.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181076;
/* rgb */ color: rgb(24, 16, 118);
/* oklch */ color: oklch(28.3% 0.160 272.7);
Tailwind
colors: {
  custom: {
    50: '#68529f',
    500: '#181076',
    950: '#000000',
  },
}
SCSS
$custom: #181076;
$custom-light: #68529f;
$custom-dark: #000000;
JSON
{
  "hex": "#181076",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 244.706,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2827,
    "c": 0.15987,
    "h": 272.7
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#181076
secondary
#A4AD35
accent
#F335E4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #181076

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

Preview Lab → · Contrast checker → · Palette generator →

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