#182C72#182C72

#182C72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.123 H 267.0°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#182C72
RGBrgb(24, 44, 114)
HSLhsl(227, 65%, 27%)
HSVhsv(227, 79%, 45%)
CMYKcmyk(78.9%, 61.4%, 0%, 55.3%)
CIE-LABlab(20.87, 19.44, -42.65)
CIE-LCHlch(20.87, 46.87, 294.51°)
OKLaboklab(32.51% -0.0065 -0.1231)
OKLCHoklch(32.51% 0.123 267)
XYZxyz(4.3136, 3.2100, 16.3086)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C72 #725E18
analogous
#185972 #182C72 #311872
triadic
#182C72 #72182C #2C7218
tetradic
#182C72 #721859 #725E18 #187231
square
#182C72 #721859 #725E18 #187231
split-complementary
#182C72 #723118 #597218
monochromatic
#050A19 #0D183F #182C72 #2340A5 #3155D4

Accessibility & contrast

On white

12.79
#182C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C72
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C72#FFFFFF#000000##FFFFFF
##182C721.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182c72;
/* rgb */ color: rgb(24, 44, 114);
/* oklch */ color: oklch(32.5% 0.123 267.0);
Tailwind
colors: {
  custom: {
    50: '#64649b',
    500: '#182c72',
    950: '#000000',
  },
}
SCSS
$custom: #182c72;
$custom-light: #64649b;
$custom-dark: #000000;
JSON
{
  "hex": "#182c72",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 226.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.12332,
    "h": 267
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#182C72
secondary
#A7903E
accent
#C340E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182C72

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

Preview Lab → · Contrast checker → · Palette generator →

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