#181071#181071

#181071 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.154 H 273.4°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#181071
RGBrgb(24, 16, 113)
HSLhsl(245, 75%, 25%)
HSVhsv(245, 86%, 44%)
CMYKcmyk(78.8%, 85.8%, 0%, 55.7%)
CIE-LABlab(14.15, 37.02, -53.05)
CIE-LCHlch(14.15, 64.69, 304.91°)
OKLaboklab(27.64% 0.0091 -0.1534)
OKLCHoklch(27.64% 0.154 273.4)
XYZxyz(3.5416, 1.7567, 15.7720)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181071 #697110
analogous
#103971 #181071 #481071
triadic
#181071 #711810 #107118
tetradic
#181071 #711039 #697110 #107148
square
#181071 #711039 #697110 #107148
split-complementary
#181071 #714810 #397110
monochromatic
#06041B #0D083B #181071 #2318A7 #2F1FDC

Accessibility & contrast

On white

15.54
#181071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#181071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181071
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181071#FFFFFF#000000##FFFFFF
##1810711.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181071;
/* rgb */ color: rgb(24, 16, 113);
/* oklch */ color: oklch(27.6% 0.154 273.4);
Tailwind
colors: {
  custom: {
    50: '#67529b',
    500: '#181071',
    950: '#000000',
  },
}
SCSS
$custom: #181071;
$custom-light: #67529b;
$custom-dark: #000000;
JSON
{
  "hex": "#181071",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 244.948,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27636,
    "c": 0.1537,
    "h": 273.4
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#181071
secondary
#9FA934
accent
#F236E2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #181071

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

Preview Lab → · Contrast checker → · Palette generator →

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