#183977#183977

#183977 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.113 H 261.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#183977
RGBrgb(24, 57, 119)
HSLhsl(219, 66%, 28%)
HSVhsv(219, 80%, 47%)
CMYKcmyk(79.8%, 52.1%, 0%, 53.3%)
CIE-LABlab(25.11, 12.22, -38.96)
CIE-LCHlch(25.11, 40.83, 287.42°)
OKLaboklab(35.85% -0.0167 -0.112)
OKLCHoklch(35.85% 0.113 261.5)
XYZxyz(5.1684, 4.4518, 18.0361)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183977 #775618
analogous
#186877 #183977 #261877
triadic
#183977 #771839 #397718
tetradic
#183977 #771868 #775618 #187726
square
#183977 #771868 #775618 #187726
split-complementary
#183977 #772618 #687718
monochromatic
#050C19 #0E2144 #183977 #2251AA #336CD6

Accessibility & contrast

On white

11.11
#183977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#183977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183977
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183977#FFFFFF#000000##FFFFFF
##1839771.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134079
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183977;
/* rgb */ color: rgb(24, 57, 119);
/* oklch */ color: oklch(35.9% 0.113 261.5);
Tailwind
colors: {
  custom: {
    50: '#656e9f',
    500: '#183977',
    950: '#000000',
  },
}
SCSS
$custom: #183977;
$custom-light: #656e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#183977",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 119
  },
  "hsl": {
    "h": 219.158,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3585,
    "c": 0.11327,
    "h": 261.5
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#183977
secondary
#AC863F
accent
#AE3EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183977

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

Preview Lab → · Contrast checker → · Palette generator →

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