#182B72#182B72

#182B72 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.125 H 267.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#182B72
RGBrgb(24, 43, 114)
HSLhsl(227, 65%, 27%)
HSVhsv(227, 79%, 45%)
CMYKcmyk(78.9%, 62.3%, 0%, 55.3%)
CIE-LABlab(20.58, 20.16, -43.11)
CIE-LCHlch(20.58, 47.59, 295.06°)
OKLaboklab(32.3% -0.0057 -0.1245)
OKLCHoklch(32.3% 0.125 267.4)
XYZxyz(4.2768, 3.1364, 16.2963)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B72 #725F18
analogous
#185872 #182B72 #321872
triadic
#182B72 #72182B #2B7218
tetradic
#182B72 #721858 #725F18 #187232
square
#182B72 #721858 #725F18 #187232
split-complementary
#182B72 #723218 #587218
monochromatic
#050A19 #0D183F #182B72 #233EA5 #3153D4

Accessibility & contrast

On white

12.90
#182B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#182B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B72
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B72#FFFFFF#000000##FFFFFF
##182B721.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182b72;
/* rgb */ color: rgb(24, 43, 114);
/* oklch */ color: oklch(32.3% 0.125 267.4);
Tailwind
colors: {
  custom: {
    50: '#64649b',
    500: '#182b72',
    950: '#000000',
  },
}
SCSS
$custom: #182b72;
$custom-light: #64649b;
$custom-dark: #000000;
JSON
{
  "hex": "#182b72",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 227.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32301,
    "c": 0.12465,
    "h": 267.4
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#182B72
secondary
#A7913E
accent
#C540E8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182B72

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

Preview Lab → · Contrast checker → · Palette generator →

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