#182B76#182B76

#182B76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.130 H 267.5°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#182B76
RGBrgb(24, 43, 118)
HSLhsl(228, 66%, 28%)
HSVhsv(228, 80%, 46%)
CMYKcmyk(79.7%, 63.6%, 0%, 53.7%)
CIE-LABlab(20.94, 21.78, -45.09)
CIE-LCHlch(20.94, 50.08, 295.78°)
OKLaboklab(32.68% -0.0057 -0.1303)
OKLCHoklch(32.68% 0.13 267.5)
XYZxyz(4.5094, 3.2294, 17.5217)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B76 #766318
analogous
#185A76 #182B76 #341876
triadic
#182B76 #76182B #2B7618
tetradic
#182B76 #76185A #766318 #187634
square
#182B76 #76185A #766318 #187634
split-complementary
#182B76 #763418 #5A7618
monochromatic
#050919 #0E1843 #182B76 #223EA9 #3354D5

Accessibility & contrast

On white

12.76
#182B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B76
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B76#FFFFFF#000000##FFFFFF
##182B761.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182b76;
/* rgb */ color: rgb(24, 43, 118);
/* oklch */ color: oklch(32.7% 0.130 267.5);
Tailwind
colors: {
  custom: {
    50: '#65649e',
    500: '#182b76',
    950: '#000000',
  },
}
SCSS
$custom: #182b76;
$custom-light: #65649e;
$custom-dark: #000000;
JSON
{
  "hex": "#182b76",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 227.872,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32679,
    "c": 0.13045,
    "h": 267.5
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#182B76
secondary
#AB953F
accent
#C73FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #182B76

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

Preview Lab → · Contrast checker → · Palette generator →

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