#182C76#182C76

#182C76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.129 H 267.2°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#182C76
RGBrgb(24, 44, 118)
HSLhsl(227, 66%, 28%)
HSVhsv(227, 80%, 46%)
CMYKcmyk(79.7%, 62.7%, 0%, 53.7%)
CIE-LABlab(21.22, 21.07, -44.64)
CIE-LCHlch(21.22, 49.36, 295.27°)
OKLaboklab(32.89% -0.0064 -0.129)
OKLCHoklch(32.89% 0.129 267.2)
XYZxyz(4.5462, 3.3031, 17.5340)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C76 #766218
analogous
#185B76 #182C76 #331876
triadic
#182C76 #76182C #2C7618
tetradic
#182C76 #76185B #766218 #187633
square
#182C76 #76185B #766218 #187633
split-complementary
#182C76 #763318 #5B7618
monochromatic
#050919 #0E1943 #182C76 #223FA9 #3356D5

Accessibility & contrast

On white

12.64
#182C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C76
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C76#FFFFFF#000000##FFFFFF
##182C761.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182c76;
/* rgb */ color: rgb(24, 44, 118);
/* oklch */ color: oklch(32.9% 0.129 267.2);
Tailwind
colors: {
  custom: {
    50: '#65649e',
    500: '#182c76',
    950: '#000000',
  },
}
SCSS
$custom: #182c76;
$custom-light: #65649e;
$custom-dark: #000000;
JSON
{
  "hex": "#182c76",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 227.234,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32886,
    "c": 0.12914,
    "h": 267.2
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#182C76
secondary
#AB943F
accent
#C53FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182C76

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

Preview Lab → · Contrast checker → · Palette generator →

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