#183B77#183B77

#183B77 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.3% C 0.111 H 260.4°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#183B77
RGBrgb(24, 59, 119)
HSLhsl(218, 66%, 28%)
HSVhsv(218, 80%, 47%)
CMYKcmyk(79.8%, 50.4%, 0%, 53.3%)
CIE-LABlab(25.72, 10.81, -37.97)
CIE-LCHlch(25.72, 39.48, 285.89°)
OKLaboklab(36.32% -0.0184 -0.1091)
OKLCHoklch(36.32% 0.111 260.4)
XYZxyz(5.2692, 4.6534, 18.0697)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B77 #775418
analogous
#186A77 #183B77 #241877
triadic
#183B77 #77183B #3B7718
tetradic
#183B77 #77186A #775418 #187724
square
#183B77 #77186A #775418 #187724
split-complementary
#183B77 #772418 #6A7718
monochromatic
#050D19 #0E2244 #183B77 #2254AA #336FD6

Accessibility & contrast

On white

10.88
#183B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#183B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B77
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B77#FFFFFF#000000##FFFFFF
##183B771.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194279
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183b77;
/* rgb */ color: rgb(24, 59, 119);
/* oklch */ color: oklch(36.3% 0.111 260.4);
Tailwind
colors: {
  custom: {
    50: '#64709f',
    500: '#183b77',
    950: '#000000',
  },
}
SCSS
$custom: #183b77;
$custom-light: #64709f;
$custom-dark: #000000;
JSON
{
  "hex": "#183b77",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 119
  },
  "hsl": {
    "h": 217.895,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36319,
    "c": 0.11063,
    "h": 260.4
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#183B77
secondary
#AC843F
accent
#AA3EE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183B77

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

Preview Lab → · Contrast checker → · Palette generator →

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