#183177#183177

#183177 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.124 H 265.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#183177
RGBrgb(24, 49, 119)
HSLhsl(224, 66%, 28%)
HSVhsv(224, 80%, 47%)
CMYKcmyk(79.8%, 58.8%, 0%, 53.3%)
CIE-LABlab(22.73, 17.92, -42.81)
CIE-LCHlch(22.73, 46.41, 292.71°)
OKLaboklab(34.04% -0.0101 -0.1235)
OKLCHoklch(34.04% 0.124 265.3)
XYZxyz(4.8036, 3.7222, 17.9145)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183177 #775E18
analogous
#186077 #183177 #2F1877
triadic
#183177 #771831 #317718
tetradic
#183177 #771860 #775E18 #18772F
square
#183177 #771860 #775E18 #18772F
split-complementary
#183177 #772F18 #607718
monochromatic
#050A19 #0E1C44 #183177 #2246AA #335ED6

Accessibility & contrast

On white

12.04
#183177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#183177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183177
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183177#FFFFFF#000000##FFFFFF
##1831771.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183177;
/* rgb */ color: rgb(24, 49, 119);
/* oklch */ color: oklch(34.0% 0.124 265.3);
Tailwind
colors: {
  custom: {
    50: '#65689f',
    500: '#183177',
    950: '#000000',
  },
}
SCSS
$custom: #183177;
$custom-light: #65689f;
$custom-dark: #000000;
JSON
{
  "hex": "#183177",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 119
  },
  "hsl": {
    "h": 224.211,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34044,
    "c": 0.12395,
    "h": 265.3
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#183177
secondary
#AC8F3F
accent
#BC3EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183177

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

Preview Lab → · Contrast checker → · Palette generator →

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