#183777#183777

#183777 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.116 H 262.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#183777
RGBrgb(24, 55, 119)
HSLhsl(220, 66%, 28%)
HSVhsv(220, 80%, 47%)
CMYKcmyk(79.8%, 53.8%, 0%, 53.3%)
CIE-LABlab(24.51, 13.64, -39.94)
CIE-LCHlch(24.51, 42.20, 288.86°)
OKLaboklab(35.39% -0.0149 -0.115)
OKLCHoklch(35.39% 0.116 262.6)
XYZxyz(5.0715, 4.2579, 18.0038)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183777 #775818
analogous
#186677 #183777 #281877
triadic
#183777 #771837 #377718
tetradic
#183777 #771866 #775818 #187728
square
#183777 #771866 #775818 #187728
split-complementary
#183777 #772818 #667718
monochromatic
#050C19 #0E1F44 #183777 #224FAA #3368D6

Accessibility & contrast

On white

11.34
#183777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#183777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183777
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183777#FFFFFF#000000##FFFFFF
##1837771.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F79
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183777;
/* rgb */ color: rgb(24, 55, 119);
/* oklch */ color: oklch(35.4% 0.116 262.6);
Tailwind
colors: {
  custom: {
    50: '#656d9f',
    500: '#183777',
    950: '#000000',
  },
}
SCSS
$custom: #183777;
$custom-light: #656d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#183777",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 119
  },
  "hsl": {
    "h": 220.421,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35388,
    "c": 0.11593,
    "h": 262.6
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#183777
secondary
#AC883F
accent
#B23EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183777

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

Preview Lab → · Contrast checker → · Palette generator →

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