#181173#181173

#181173 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.155 H 273.0°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#181173
RGBrgb(24, 17, 115)
HSLhsl(244, 74%, 26%)
HSVhsv(244, 85%, 45%)
CMYKcmyk(79.1%, 85.2%, 0%, 54.9%)
CIE-LABlab(14.58, 37.19, -53.63)
CIE-LCHlch(14.58, 65.26, 304.73°)
OKLaboklab(28.01% 0.0082 -0.1551)
OKLCHoklch(28.01% 0.155 273)
XYZxyz(3.6706, 1.8325, 16.3766)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181173 #6C7311
analogous
#113B73 #181173 #491173
triadic
#181173 #731811 #117318
tetradic
#181173 #73113B #6C7311 #117349
square
#181173 #73113B #6C7311 #117349
split-complementary
#181173 #734911 #3B7311
monochromatic
#06041B #0D093E #181173 #2319A8 #2E21DE

Accessibility & contrast

On white

15.37
#181173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181173
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181173#FFFFFF#000000##FFFFFF
##1811731.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002976
Deuteranopia (green-blind)
#002071
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181173;
/* rgb */ color: rgb(24, 17, 115);
/* oklch */ color: oklch(28.0% 0.155 273.0);
Tailwind
colors: {
  custom: {
    50: '#67529c',
    500: '#181173',
    950: '#000000',
  },
}
SCSS
$custom: #181173;
$custom-light: #67529c;
$custom-dark: #000000;
JSON
{
  "hex": "#181173",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 244.286,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28006,
    "c": 0.15537,
    "h": 273
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#181173
secondary
#A2AA36
accent
#F137E4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #181173

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

Preview Lab → · Contrast checker → · Palette generator →

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