#181570#181570

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

Color values

HEX#181570
RGBrgb(24, 21, 112)
HSLhsl(242, 68%, 26%)
HSVhsv(242, 81%, 44%)
CMYKcmyk(78.6%, 81.2%, 0%, 56.1%)
CIE-LABlab(14.95, 34.00, -51.07)
CIE-LCHlch(14.95, 61.36, 303.66°)
OKLaboklab(28.16% 0.0075 -0.1478)
OKLCHoklch(28.16% 0.148 272.9)
XYZxyz(3.5685, 1.9000, 15.5048)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181570 #6D7015
analogous
#153F70 #181570 #451570
triadic
#181570 #701815 #157018
tetradic
#181570 #70153F #6D7015 #157045
square
#181570 #70153F #6D7015 #157045
split-complementary
#181570 #704515 #3F7015
monochromatic
#06051A #0D0B3C #181570 #231FA4 #2E29D7

Accessibility & contrast

On white

15.22
#181570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181570
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181570#FFFFFF#000000##FFFFFF
##1815701.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181570;
/* rgb */ color: rgb(24, 21, 112);
/* oklch */ color: oklch(28.2% 0.148 272.9);
Tailwind
colors: {
  custom: {
    50: '#66549a',
    500: '#181570',
    950: '#000000',
  },
}
SCSS
$custom: #181570;
$custom-light: #66549a;
$custom-dark: #000000;
JSON
{
  "hex": "#181570",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 241.978,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28156,
    "c": 0.14798,
    "h": 272.9
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#181570
secondary
#A3A63B
accent
#EB3DE6
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181570

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

Preview Lab → · Contrast checker → · Palette generator →

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