#182B77#182B77

#182B77 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.132 H 267.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#182B77
RGBrgb(24, 43, 119)
HSLhsl(228, 66%, 28%)
HSVhsv(228, 80%, 47%)
CMYKcmyk(79.8%, 63.9%, 0%, 53.3%)
CIE-LABlab(21.03, 22.19, -45.59)
CIE-LCHlch(21.03, 50.70, 295.95°)
OKLaboklab(32.78% -0.0057 -0.1318)
OKLCHoklch(32.78% 0.132 267.5)
XYZxyz(4.5692, 3.2533, 17.8363)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B77 #776418
analogous
#185A77 #182B77 #341877
triadic
#182B77 #77182B #2B7718
tetradic
#182B77 #77185A #776418 #187734
square
#182B77 #77185A #776418 #187734
split-complementary
#182B77 #773418 #5A7718
monochromatic
#050919 #0E1944 #182B77 #223DAA #3354D6

Accessibility & contrast

On white

12.72
#182B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182B77
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B77#FFFFFF#000000##FFFFFF
##182B771.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182b77;
/* rgb */ color: rgb(24, 43, 119);
/* oklch */ color: oklch(32.8% 0.132 267.5);
Tailwind
colors: {
  custom: {
    50: '#66649f',
    500: '#182b77',
    950: '#000000',
  },
}
SCSS
$custom: #182b77;
$custom-light: #66649f;
$custom-dark: #000000;
JSON
{
  "hex": "#182b77",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 228,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32775,
    "c": 0.13189,
    "h": 267.5
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#182B77
secondary
#AC963F
accent
#C73EE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #182B77

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

Preview Lab → · Contrast checker → · Palette generator →

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