#182C71#182C71

#182C71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.122 H 266.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#182C71
RGBrgb(24, 44, 113)
HSLhsl(227, 65%, 27%)
HSVhsv(227, 79%, 44%)
CMYKcmyk(78.8%, 61.1%, 0%, 55.7%)
CIE-LABlab(20.78, 19.04, -42.15)
CIE-LCHlch(20.78, 46.25, 294.30°)
OKLaboklab(32.42% -0.0065 -0.1217)
OKLCHoklch(32.42% 0.122 266.9)
XYZxyz(4.2570, 3.1873, 16.0104)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C71 #715D18
analogous
#185971 #182C71 #311871
triadic
#182C71 #71182C #2C7118
tetradic
#182C71 #711859 #715D18 #187131
square
#182C71 #711859 #715D18 #187131
split-complementary
#182C71 #713118 #597118
monochromatic
#050A19 #0D183F #182C71 #2340A3 #3055D3

Accessibility & contrast

On white

12.82
#182C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182C71
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C71#FFFFFF#000000##FFFFFF
##182C711.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182c71;
/* rgb */ color: rgb(24, 44, 113);
/* oklch */ color: oklch(32.4% 0.122 266.9);
Tailwind
colors: {
  custom: {
    50: '#64649a',
    500: '#182c71',
    950: '#000000',
  },
}
SCSS
$custom: #182c71;
$custom-light: #64649a;
$custom-dark: #000000;
JSON
{
  "hex": "#182c71",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 226.517,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32421,
    "c": 0.12184,
    "h": 266.9
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#182C71
secondary
#A68F3E
accent
#C240E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182C71

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

Preview Lab → · Contrast checker → · Palette generator →

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