#182E77#182E77

#182E77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.128 H 266.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#182E77
RGBrgb(24, 46, 119)
HSLhsl(226, 66%, 28%)
HSVhsv(226, 80%, 47%)
CMYKcmyk(79.8%, 61.3%, 0%, 53.3%)
CIE-LABlab(21.87, 20.06, -44.22)
CIE-LCHlch(21.87, 48.55, 294.40°)
OKLaboklab(33.4% -0.0078 -0.1277)
OKLCHoklch(33.4% 0.128 266.5)
XYZxyz(4.6823, 3.4796, 17.8740)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E77 #776118
analogous
#185D77 #182E77 #311877
triadic
#182E77 #77182E #2E7718
tetradic
#182E77 #77185D #776118 #187731
square
#182E77 #77185D #776118 #187731
split-complementary
#182E77 #773118 #5D7718
monochromatic
#050A19 #0E1A44 #182E77 #2242AA #3359D6

Accessibility & contrast

On white

12.38
#182E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#182E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E77
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E77#FFFFFF#000000##FFFFFF
##182E771.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182e77;
/* rgb */ color: rgb(24, 46, 119);
/* oklch */ color: oklch(33.4% 0.128 266.5);
Tailwind
colors: {
  custom: {
    50: '#65669f',
    500: '#182e77',
    950: '#000000',
  },
}
SCSS
$custom: #182e77;
$custom-light: #65669f;
$custom-dark: #000000;
JSON
{
  "hex": "#182e77",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 226.105,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33399,
    "c": 0.12795,
    "h": 266.5
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#182E77
secondary
#AC933F
accent
#C23EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #182E77

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

Preview Lab → · Contrast checker → · Palette generator →

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