#182177#182177

#182177 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.144 H 270.2°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#182177
RGBrgb(24, 33, 119)
HSLhsl(234, 66%, 28%)
HSVhsv(234, 80%, 47%)
CMYKcmyk(79.8%, 72.3%, 0%, 53.3%)
CIE-LABlab(18.42, 29.08, -49.86)
CIE-LCHlch(18.42, 57.72, 300.25°)
OKLaboklab(30.86% 0.0005 -0.1443)
OKLCHoklch(30.86% 0.144 270.2)
XYZxyz(4.2492, 2.6133, 17.7297)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182177 #776E18
analogous
#185077 #182177 #3E1877
triadic
#182177 #771821 #217718
tetradic
#182177 #771850 #776E18 #18773E
square
#182177 #771850 #776E18 #18773E
split-complementary
#182177 #773E18 #507718
monochromatic
#050719 #0E1344 #182177 #222FAA #3343D6

Accessibility & contrast

On white

13.79
#182177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182177
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182177#FFFFFF#000000##FFFFFF
##1821771.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182177;
/* rgb */ color: rgb(24, 33, 119);
/* oklch */ color: oklch(30.9% 0.144 270.2);
Tailwind
colors: {
  custom: {
    50: '#675c9f',
    500: '#182177',
    950: '#000000',
  },
}
SCSS
$custom: #182177;
$custom-light: #675c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#182177",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 234.316,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30864,
    "c": 0.14435,
    "h": 270.2
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#182177
secondary
#ACA23F
accent
#D93EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #182177

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

Preview Lab → · Contrast checker → · Palette generator →

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