#181470#181470

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

Color values

HEX#181470
RGBrgb(24, 20, 112)
HSLhsl(243, 70%, 26%)
HSVhsv(243, 82%, 44%)
CMYKcmyk(78.6%, 82.1%, 0%, 56.1%)
CIE-LABlab(14.76, 34.57, -51.40)
CIE-LCHlch(14.76, 61.94, 303.93°)
OKLaboklab(28.02% 0.0079 -0.1487)
OKLCHoklch(28.02% 0.149 273)
XYZxyz(3.5505, 1.8640, 15.4988)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181470 #6C7014
analogous
#143E70 #181470 #461470
triadic
#181470 #701814 #147018
tetradic
#181470 #70143E #6C7014 #147046
square
#181470 #70143E #6C7014 #147046
split-complementary
#181470 #704614 #3E7014
monochromatic
#06051A #0D0B3C #181470 #231DA4 #2E27D8

Accessibility & contrast

On white

15.30
#181470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181470
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181470#FFFFFF#000000##FFFFFF
##1814701.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181470;
/* rgb */ color: rgb(24, 20, 112);
/* oklch */ color: oklch(28.0% 0.149 273.0);
Tailwind
colors: {
  custom: {
    50: '#66549a',
    500: '#181470',
    950: '#000000',
  },
}
SCSS
$custom: #181470;
$custom-light: #66549a;
$custom-dark: #000000;
JSON
{
  "hex": "#181470",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 242.609,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28018,
    "c": 0.14893,
    "h": 273
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#181470
secondary
#A2A639
accent
#ED3BE5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181470

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

Preview Lab → · Contrast checker → · Palette generator →

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