#181174#181174

#181174 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.157 H 272.9°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#181174
RGBrgb(24, 17, 116)
HSLhsl(244, 74%, 26%)
HSVhsv(244, 85%, 45%)
CMYKcmyk(79.3%, 85.3%, 0%, 54.5%)
CIE-LABlab(14.71, 37.52, -54.07)
CIE-LCHlch(14.71, 65.81, 304.76°)
OKLaboklab(28.13% 0.0079 -0.1564)
OKLCHoklch(28.13% 0.157 272.9)
XYZxyz(3.7285, 1.8556, 16.6813)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181174 #6D7411
analogous
#113B74 #181174 #491174
triadic
#181174 #741811 #117418
tetradic
#181174 #74113B #6D7411 #117449
square
#181174 #74113B #6D7411 #117449
split-complementary
#181174 #744911 #3B7411
monochromatic
#06041B #0D093F #181174 #2319A9 #2E21DE

Accessibility & contrast

On white

15.32
#181174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181174
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181174#FFFFFF#000000##FFFFFF
##1811741.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181174;
/* rgb */ color: rgb(24, 17, 116);
/* oklch */ color: oklch(28.1% 0.157 272.9);
Tailwind
colors: {
  custom: {
    50: '#67529d',
    500: '#181174',
    950: '#000000',
  },
}
SCSS
$custom: #181174;
$custom-light: #67529d;
$custom-dark: #000000;
JSON
{
  "hex": "#181174",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 244.242,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28132,
    "c": 0.15661,
    "h": 272.9
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181174

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

Preview Lab → · Contrast checker → · Palette generator →

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