#182072#182072

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

Color values

HEX#182072
RGBrgb(24, 32, 114)
HSLhsl(235, 65%, 27%)
HSVhsv(235, 79%, 45%)
CMYKcmyk(78.9%, 71.9%, 0%, 55.3%)
CIE-LABlab(17.65, 27.83, -47.91)
CIE-LCHlch(17.65, 55.41, 300.15°)
OKLaboklab(30.15% 0.0016 -0.1387)
OKLCHoklch(30.15% 0.139 270.7)
XYZxyz(3.9294, 2.4417, 16.1805)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182072 #726A18
analogous
#184D72 #182072 #3D1872
triadic
#182072 #721820 #207218
tetradic
#182072 #72184D #726A18 #18723D
square
#182072 #72184D #726A18 #18723D
split-complementary
#182072 #723D18 #4D7218
monochromatic
#050719 #0D123F #182072 #232EA5 #313FD4

Accessibility & contrast

On white

14.11
#182072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182072
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182072#FFFFFF#000000##FFFFFF
##1820721.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182072;
/* rgb */ color: rgb(24, 32, 114);
/* oklch */ color: oklch(30.1% 0.139 270.7);
Tailwind
colors: {
  custom: {
    50: '#655b9b',
    500: '#182072',
    950: '#000000',
  },
}
SCSS
$custom: #182072;
$custom-light: #655b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#182072",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 234.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30148,
    "c": 0.13867,
    "h": 270.7
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#182072
secondary
#A79E3E
accent
#D940E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182072

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

Preview Lab → · Contrast checker → · Palette generator →

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