#182071#182071

#182071 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.137 H 270.7°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#182071
RGBrgb(24, 32, 113)
HSLhsl(235, 65%, 27%)
HSVhsv(235, 79%, 44%)
CMYKcmyk(78.8%, 71.7%, 0%, 55.7%)
CIE-LABlab(17.55, 27.45, -47.44)
CIE-LCHlch(17.55, 54.81, 300.05°)
OKLaboklab(30.04% 0.0017 -0.1373)
OKLCHoklch(30.04% 0.137 270.7)
XYZxyz(3.8728, 2.4191, 15.8824)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182071 #716918
analogous
#184D71 #182071 #3D1871
triadic
#182071 #711820 #207118
tetradic
#182071 #71184D #716918 #18713D
square
#182071 #71184D #716918 #18713D
split-complementary
#182071 #713D18 #4D7118
monochromatic
#050719 #0D123F #182071 #232EA3 #303FD3

Accessibility & contrast

On white

14.15
#182071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182071
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182071#FFFFFF#000000##FFFFFF
##1820711.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182071;
/* rgb */ color: rgb(24, 32, 113);
/* oklch */ color: oklch(30.0% 0.137 270.7);
Tailwind
colors: {
  custom: {
    50: '#655b9b',
    500: '#182071',
    950: '#000000',
  },
}
SCSS
$custom: #182071;
$custom-light: #655b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#182071",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 234.607,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30041,
    "c": 0.13729,
    "h": 270.7
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#182071
secondary
#A69D3E
accent
#D940E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182071

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

Preview Lab → · Contrast checker → · Palette generator →

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