#182170#182170

#182170 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.135 H 270.5°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#182170
RGBrgb(24, 33, 112)
HSLhsl(234, 65%, 27%)
HSVhsv(234, 79%, 44%)
CMYKcmyk(78.6%, 70.5%, 0%, 56.1%)
CIE-LABlab(17.70, 26.38, -46.55)
CIE-LCHlch(17.70, 53.51, 299.55°)
OKLaboklab(30.12% 0.0012 -0.1347)
OKLCHoklch(30.12% 0.135 270.5)
XYZxyz(3.8442, 2.4513, 15.5967)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182170 #706718
analogous
#184D70 #182170 #3B1870
triadic
#182170 #701821 #217018
tetradic
#182170 #70184D #706718 #18703B
square
#182170 #70184D #706718 #18703B
split-complementary
#182170 #703B18 #4D7018
monochromatic
#050719 #0D123E #182170 #2330A2 #3040D3

Accessibility & contrast

On white

14.09
#182170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#182170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182170
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182170#FFFFFF#000000##FFFFFF
##1821701.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182170;
/* rgb */ color: rgb(24, 33, 112);
/* oklch */ color: oklch(30.1% 0.135 270.5);
Tailwind
colors: {
  custom: {
    50: '#655c9a',
    500: '#182170',
    950: '#000000',
  },
}
SCSS
$custom: #182170;
$custom-light: #655c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#182170",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 233.864,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30118,
    "c": 0.13468,
    "h": 270.5
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#182170
secondary
#A59B3E
accent
#D740E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182170

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

Preview Lab → · Contrast checker → · Palette generator →

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