#182070#182070

#182070 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.136 H 270.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#182070
RGBrgb(24, 32, 112)
HSLhsl(235, 65%, 27%)
HSVhsv(235, 79%, 44%)
CMYKcmyk(78.6%, 71.4%, 0%, 56.1%)
CIE-LABlab(17.44, 27.06, -46.96)
CIE-LCHlch(17.44, 54.20, 299.95°)
OKLaboklab(29.93% 0.0018 -0.1359)
OKLCHoklch(29.93% 0.136 270.8)
XYZxyz(3.8168, 2.3967, 15.5875)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182070 #706818
analogous
#184C70 #182070 #3C1870
triadic
#182070 #701820 #207018
tetradic
#182070 #70184C #706818 #18703C
square
#182070 #70184C #706818 #18703C
split-complementary
#182070 #703C18 #4C7018
monochromatic
#050719 #0D123E #182070 #232EA2 #303FD3

Accessibility & contrast

On white

14.19
#182070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#182070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182070
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182070#FFFFFF#000000##FFFFFF
##1820701.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00276F
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182070;
/* rgb */ color: rgb(24, 32, 112);
/* oklch */ color: oklch(29.9% 0.136 270.8);
Tailwind
colors: {
  custom: {
    50: '#655b9a',
    500: '#182070',
    950: '#000000',
  },
}
SCSS
$custom: #182070;
$custom-light: #655b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#182070",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 234.545,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29934,
    "c": 0.13589,
    "h": 270.8
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#182070
secondary
#A59C3E
accent
#D840E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182070

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

Preview Lab → · Contrast checker → · Palette generator →

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