#182777#182777

#182777 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.137 H 268.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#182777
RGBrgb(24, 39, 119)
HSLhsl(231, 66%, 28%)
HSVhsv(231, 80%, 47%)
CMYKcmyk(79.8%, 67.2%, 0%, 53.3%)
CIE-LABlab(19.95, 24.99, -47.36)
CIE-LCHlch(19.95, 53.55, 297.82°)
OKLaboklab(31.98% -0.003 -0.137)
OKLCHoklch(31.98% 0.137 268.7)
XYZxyz(4.4308, 2.9766, 17.7902)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182777 #776818
analogous
#185677 #182777 #381877
triadic
#182777 #771827 #277718
tetradic
#182777 #771856 #776818 #187738
square
#182777 #771856 #776818 #187738
split-complementary
#182777 #773818 #567718
monochromatic
#050819 #0E1644 #182777 #2238AA #334DD6

Accessibility & contrast

On white

13.16
#182777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#182777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182777
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182777#FFFFFF#000000##FFFFFF
##1827771.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182777;
/* rgb */ color: rgb(24, 39, 119);
/* oklch */ color: oklch(32.0% 0.137 268.7);
Tailwind
colors: {
  custom: {
    50: '#66619f',
    500: '#182777',
    950: '#000000',
  },
}
SCSS
$custom: #182777;
$custom-light: #66619f;
$custom-dark: #000000;
JSON
{
  "hex": "#182777",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 230.526,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31977,
    "c": 0.13702,
    "h": 268.7
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#182777
secondary
#AC9B3F
accent
#CE3EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #182777

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

Preview Lab → · Contrast checker → · Palette generator →

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