#183877#183877

#183877 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.115 H 262.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#183877
RGBrgb(24, 56, 119)
HSLhsl(220, 66%, 28%)
HSVhsv(220, 80%, 47%)
CMYKcmyk(79.8%, 52.9%, 0%, 53.3%)
CIE-LABlab(24.81, 12.93, -39.45)
CIE-LCHlch(24.81, 41.51, 288.15°)
OKLaboklab(35.62% -0.0158 -0.1135)
OKLCHoklch(35.62% 0.115 262.1)
XYZxyz(5.1194, 4.3539, 18.0198)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183877 #775718
analogous
#186877 #183877 #271877
triadic
#183877 #771838 #387718
tetradic
#183877 #771868 #775718 #187727
square
#183877 #771868 #775718 #187727
split-complementary
#183877 #772718 #687718
monochromatic
#050C19 #0E2044 #183877 #2250AA #336AD6

Accessibility & contrast

On white

11.23
#183877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#183877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183877
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183877#FFFFFF#000000##FFFFFF
##1838771.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103F79
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183877;
/* rgb */ color: rgb(24, 56, 119);
/* oklch */ color: oklch(35.6% 0.115 262.1);
Tailwind
colors: {
  custom: {
    50: '#656e9f',
    500: '#183877',
    950: '#000000',
  },
}
SCSS
$custom: #183877;
$custom-light: #656e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#183877",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 219.789,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35618,
    "c": 0.11459,
    "h": 262.1
  },
  "luminance": 0.04354
}

Semantic roles & 50–950 ramp

primary
#183877
secondary
#AC873F
accent
#B03EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183877

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

Preview Lab → · Contrast checker → · Palette generator →

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