#182877#182877

#182877 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.136 H 268.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#182877
RGBrgb(24, 40, 119)
HSLhsl(230, 66%, 28%)
HSVhsv(230, 80%, 47%)
CMYKcmyk(79.8%, 66.4%, 0%, 53.3%)
CIE-LABlab(20.22, 24.30, -46.92)
CIE-LCHlch(20.22, 52.84, 297.38°)
OKLaboklab(32.17% -0.0037 -0.1357)
OKLCHoklch(32.17% 0.136 268.4)
XYZxyz(4.4641, 3.0432, 17.8013)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182877 #776718
analogous
#185777 #182877 #371877
triadic
#182877 #771828 #287718
tetradic
#182877 #771857 #776718 #187737
square
#182877 #771857 #776718 #187737
split-complementary
#182877 #773718 #577718
monochromatic
#050919 #0E1744 #182877 #2239AA #334FD6

Accessibility & contrast

On white

13.05
#182877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#182877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182877
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182877#FFFFFF#000000##FFFFFF
##1828771.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#002C76
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182877;
/* rgb */ color: rgb(24, 40, 119);
/* oklch */ color: oklch(32.2% 0.136 268.4);
Tailwind
colors: {
  custom: {
    50: '#66619f',
    500: '#182877',
    950: '#000000',
  },
}
SCSS
$custom: #182877;
$custom-light: #66619f;
$custom-dark: #000000;
JSON
{
  "hex": "#182877",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 229.895,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32172,
    "c": 0.13576,
    "h": 268.4
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#182877
secondary
#AC9A3F
accent
#CD3EE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #182877

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

Preview Lab → · Contrast checker → · Palette generator →

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