#182E72#182E72

#182E72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 32.9% C 0.121 H 266.2°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#182E72
RGBrgb(24, 46, 114)
HSLhsl(225, 65%, 27%)
HSVhsv(225, 79%, 45%)
CMYKcmyk(78.9%, 59.6%, 0%, 55.3%)
CIE-LABlab(21.44, 18.01, -41.72)
CIE-LCHlch(21.44, 45.44, 293.35°)
OKLaboklab(32.94% -0.008 -0.1204)
OKLCHoklch(32.94% 0.121 266.2)
XYZxyz(4.3899, 3.3626, 16.3340)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E72 #725C18
analogous
#185B72 #182E72 #2F1872
triadic
#182E72 #72182E #2E7218
tetradic
#182E72 #72185B #725C18 #18722F
square
#182E72 #72185B #725C18 #18722F
split-complementary
#182E72 #722F18 #5B7218
monochromatic
#050A19 #0D1A3F #182E72 #2342A5 #3159D4

Accessibility & contrast

On white

12.56
#182E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E72
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E72#FFFFFF#000000##FFFFFF
##182E721.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182e72;
/* rgb */ color: rgb(24, 46, 114);
/* oklch */ color: oklch(32.9% 0.121 266.2);
Tailwind
colors: {
  custom: {
    50: '#64669b',
    500: '#182e72',
    950: '#000000',
  },
}
SCSS
$custom: #182e72;
$custom-light: #64669b;
$custom-dark: #000000;
JSON
{
  "hex": "#182e72",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 225.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32944,
    "c": 0.12063,
    "h": 266.2
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#182E72
secondary
#A78E3E
accent
#BF40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182E72

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

Preview Lab → · Contrast checker → · Palette generator →

#182E72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva