#181070#181070

#181070 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.152 H 273.5°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#181070
RGBrgb(24, 16, 112)
HSLhsl(245, 75%, 25%)
HSVhsv(245, 86%, 44%)
CMYKcmyk(78.6%, 85.7%, 0%, 56.1%)
CIE-LABlab(14.03, 36.69, -52.61)
CIE-LCHlch(14.03, 64.14, 304.90°)
OKLaboklab(27.51% 0.0094 -0.1522)
OKLCHoklch(27.51% 0.152 273.5)
XYZxyz(3.4856, 1.7343, 15.4771)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181070 #687010
analogous
#103870 #181070 #481070
triadic
#181070 #701810 #107018
tetradic
#181070 #701038 #687010 #107048
square
#181070 #701038 #687010 #107048
split-complementary
#181070 #704810 #387010
monochromatic
#06041B #0D083A #181070 #2318A6 #2F1FDB

Accessibility & contrast

On white

15.59
#181070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181070
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181070#FFFFFF#000000##FFFFFF
##1810701.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#001F6E
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181070;
/* rgb */ color: rgb(24, 16, 112);
/* oklch */ color: oklch(27.5% 0.152 273.5);
Tailwind
colors: {
  custom: {
    50: '#66519a',
    500: '#181070',
    950: '#000000',
  },
}
SCSS
$custom: #181070;
$custom-light: #66519a;
$custom-dark: #000000;
JSON
{
  "hex": "#181070",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 245,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2751,
    "c": 0.15246,
    "h": 273.5
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181070

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

Preview Lab → · Contrast checker → · Palette generator →

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