#183A77#183A77

#183A77 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.112 H 261.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#183A77
RGBrgb(24, 58, 119)
HSLhsl(219, 66%, 28%)
HSVhsv(219, 80%, 47%)
CMYKcmyk(79.8%, 51.3%, 0%, 53.3%)
CIE-LABlab(25.42, 11.51, -38.46)
CIE-LCHlch(25.42, 40.15, 286.66°)
OKLaboklab(36.08% -0.0175 -0.1106)
OKLCHoklch(36.08% 0.112 261)
XYZxyz(5.2183, 4.5516, 18.0527)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A77 #775518
analogous
#186977 #183A77 #251877
triadic
#183A77 #77183A #3A7718
tetradic
#183A77 #771869 #775518 #187725
square
#183A77 #771869 #775518 #187725
split-complementary
#183A77 #772518 #697718
monochromatic
#050C19 #0E2144 #183A77 #2253AA #336ED6

Accessibility & contrast

On white

10.99
#183A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#183A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A77
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A77#FFFFFF#000000##FFFFFF
##183A771.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#003876
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183a77;
/* rgb */ color: rgb(24, 58, 119);
/* oklch */ color: oklch(36.1% 0.112 261.0);
Tailwind
colors: {
  custom: {
    50: '#656f9f',
    500: '#183a77',
    950: '#000000',
  },
}
SCSS
$custom: #183a77;
$custom-light: #656f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#183a77",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 119
  },
  "hsl": {
    "h": 218.526,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36084,
    "c": 0.11195,
    "h": 261
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#183A77
secondary
#AC853F
accent
#AC3EE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183A77

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

Preview Lab → · Contrast checker → · Palette generator →

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