#183C77#183C77

#183C77 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.109 H 259.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#183C77
RGBrgb(24, 60, 119)
HSLhsl(217, 66%, 28%)
HSVhsv(217, 80%, 47%)
CMYKcmyk(79.8%, 49.6%, 0%, 53.3%)
CIE-LABlab(26.03, 10.10, -37.47)
CIE-LCHlch(26.03, 38.81, 285.09°)
OKLaboklab(36.56% -0.0193 -0.1076)
OKLCHoklch(36.56% 0.109 259.8)
XYZxyz(5.3211, 4.7572, 18.0870)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C77 #775318
analogous
#186B77 #183C77 #231877
triadic
#183C77 #77183C #3C7718
tetradic
#183C77 #77186B #775318 #187723
square
#183C77 #77186B #775318 #187723
split-complementary
#183C77 #772318 #6B7718
monochromatic
#050D19 #0E2244 #183C77 #2256AA #3371D6

Accessibility & contrast

On white

10.76
#183C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#183C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C77
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C77#FFFFFF#000000##FFFFFF
##183C771.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4279
Deuteranopia (green-blind)
#013A76
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183c77;
/* rgb */ color: rgb(24, 60, 119);
/* oklch */ color: oklch(36.6% 0.109 259.8);
Tailwind
colors: {
  custom: {
    50: '#64719f',
    500: '#183c77',
    950: '#000000',
  },
}
SCSS
$custom: #183c77;
$custom-light: #64719f;
$custom-dark: #000000;
JSON
{
  "hex": "#183c77",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 119
  },
  "hsl": {
    "h": 217.263,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36555,
    "c": 0.10932,
    "h": 259.8
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#183C77
secondary
#AC833F
accent
#A93EE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183C77

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

Preview Lab → · Contrast checker → · Palette generator →

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