#181A70#181A70

#181A70 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.143 H 272.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#181A70
RGBrgb(24, 26, 112)
HSLhsl(239, 65%, 27%)
HSVhsv(239, 79%, 44%)
CMYKcmyk(78.6%, 76.8%, 0%, 56.1%)
CIE-LABlab(16.02, 30.99, -49.32)
CIE-LCHlch(16.02, 58.25, 302.15°)
OKLaboklab(28.91% 0.0052 -0.1427)
OKLCHoklch(28.91% 0.143 272.1)
XYZxyz(3.6697, 2.1024, 15.5385)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A70 #706E18
analogous
#184670 #181A70 #421870
triadic
#181A70 #70181A #1A7018
tetradic
#181A70 #701846 #706E18 #187042
square
#181A70 #701846 #706E18 #187042
split-complementary
#181A70 #704218 #467018
monochromatic
#050619 #0D0E3E #181A70 #2326A2 #3034D3

Accessibility & contrast

On white

14.78
#181A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#181A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A70
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A70#FFFFFF#000000##FFFFFF
##181A701.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #181a70;
/* rgb */ color: rgb(24, 26, 112);
/* oklch */ color: oklch(28.9% 0.143 272.1);
Tailwind
colors: {
  custom: {
    50: '#65579a',
    500: '#181a70',
    950: '#000000',
  },
}
SCSS
$custom: #181a70;
$custom-light: #65579a;
$custom-dark: #000000;
JSON
{
  "hex": "#181a70",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 238.636,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28907,
    "c": 0.14283,
    "h": 272.1
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#181A70
secondary
#A5A33E
accent
#E440E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181A70

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

Preview Lab → · Contrast checker → · Palette generator →

#181A70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva