#183E77#183E77

#183E77 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.0% C 0.107 H 258.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#183E77
RGBrgb(24, 62, 119)
HSLhsl(216, 66%, 28%)
HSVhsv(216, 80%, 47%)
CMYKcmyk(79.8%, 47.9%, 0%, 53.3%)
CIE-LABlab(26.65, 8.70, -36.48)
CIE-LCHlch(26.65, 37.50, 283.42°)
OKLaboklab(37.03% -0.0211 -0.1046)
OKLCHoklch(37.03% 0.107 258.6)
XYZxyz(5.4279, 4.9707, 18.1226)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E77 #775118
analogous
#186D77 #183E77 #211877
triadic
#183E77 #77183E #3E7718
tetradic
#183E77 #77186D #775118 #187721
square
#183E77 #77186D #775118 #187721
split-complementary
#183E77 #772118 #6D7718
monochromatic
#050D19 #0E2344 #183E77 #2259AA #3374D6

Accessibility & contrast

On white

10.53
#183E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#183E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E77
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E77#FFFFFF#000000##FFFFFF
##183E771.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204479
Deuteranopia (green-blind)
#093B76
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183e77;
/* rgb */ color: rgb(24, 62, 119);
/* oklch */ color: oklch(37.0% 0.107 258.6);
Tailwind
colors: {
  custom: {
    50: '#64729f',
    500: '#183e77',
    950: '#000000',
  },
}
SCSS
$custom: #183e77;
$custom-light: #64729f;
$custom-dark: #000000;
JSON
{
  "hex": "#183e77",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 119
  },
  "hsl": {
    "h": 216,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37032,
    "c": 0.10674,
    "h": 258.6
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#183E77
secondary
#AC803F
accent
#A53EE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #183E77

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

Preview Lab → · Contrast checker → · Palette generator →

#183E77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva