#182977#182977

#182977 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.134 H 268.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#182977
RGBrgb(24, 41, 119)
HSLhsl(229, 66%, 28%)
HSVhsv(229, 80%, 47%)
CMYKcmyk(79.8%, 65.5%, 0%, 53.3%)
CIE-LABlab(20.48, 23.59, -46.48)
CIE-LCHlch(20.48, 52.12, 296.91°)
OKLaboklab(32.37% -0.0043 -0.1344)
OKLCHoklch(32.37% 0.134 268.2)
XYZxyz(4.4982, 3.1115, 17.8127)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182977 #776618
analogous
#185877 #182977 #361877
triadic
#182977 #771829 #297718
tetradic
#182977 #771858 #776618 #187736
square
#182977 #771858 #776618 #187736
split-complementary
#182977 #773618 #587718
monochromatic
#050919 #0E1744 #182977 #223BAA #3351D6

Accessibility & contrast

On white

12.94
#182977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182977
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182977#FFFFFF#000000##FFFFFF
##1829771.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#002D76
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182977;
/* rgb */ color: rgb(24, 41, 119);
/* oklch */ color: oklch(32.4% 0.134 268.2);
Tailwind
colors: {
  custom: {
    50: '#66629f',
    500: '#182977',
    950: '#000000',
  },
}
SCSS
$custom: #182977;
$custom-light: #66629f;
$custom-dark: #000000;
JSON
{
  "hex": "#182977",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 229.263,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3237,
    "c": 0.13448,
    "h": 268.2
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#182977
secondary
#AC983F
accent
#CB3EE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #182977

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

Preview Lab → · Contrast checker → · Palette generator →

#182977 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva