#182077#182077

#182077 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.146 H 270.4°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#182077
RGBrgb(24, 32, 119)
HSLhsl(235, 66%, 28%)
HSVhsv(235, 80%, 47%)
CMYKcmyk(79.8%, 73.1%, 0%, 53.3%)
CIE-LABlab(18.18, 29.74, -50.26)
CIE-LCHlch(18.18, 58.40, 300.61°)
OKLaboklab(30.69% 0.001 -0.1455)
OKLCHoklch(30.69% 0.146 270.4)
XYZxyz(4.2218, 2.5587, 17.7206)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182077 #776F18
analogous
#185077 #182077 #3F1877
triadic
#182077 #771820 #207718
tetradic
#182077 #771850 #776F18 #18773F
square
#182077 #771850 #776F18 #18773F
split-complementary
#182077 #773F18 #507718
monochromatic
#050719 #0E1244 #182077 #222EAA #3341D6

Accessibility & contrast

On white

13.89
#182077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182077
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182077#FFFFFF#000000##FFFFFF
##1820771.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182077;
/* rgb */ color: rgb(24, 32, 119);
/* oklch */ color: oklch(30.7% 0.146 270.4);
Tailwind
colors: {
  custom: {
    50: '#675c9f',
    500: '#182077',
    950: '#000000',
  },
}
SCSS
$custom: #182077;
$custom-light: #675c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#182077",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 119
  },
  "hsl": {
    "h": 234.947,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3069,
    "c": 0.14551,
    "h": 270.4
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#182077
secondary
#ACA33F
accent
#DB3EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #182077

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

Preview Lab → · Contrast checker → · Palette generator →

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