#183D77#183D77

#183D77 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.8% C 0.108 H 259.2°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#183D77
RGBrgb(24, 61, 119)
HSLhsl(217, 66%, 28%)
HSVhsv(217, 80%, 47%)
CMYKcmyk(79.8%, 48.7%, 0%, 53.3%)
CIE-LABlab(26.34, 9.40, -36.98)
CIE-LCHlch(26.34, 38.15, 284.27°)
OKLaboklab(36.79% -0.0202 -0.1061)
OKLCHoklch(36.79% 0.108 259.2)
XYZxyz(5.3740, 4.8630, 18.1046)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D77 #775218
analogous
#186C77 #183D77 #231877
triadic
#183D77 #77183D #3D7718
tetradic
#183D77 #77186C #775218 #187723
square
#183D77 #77186C #775218 #187723
split-complementary
#183D77 #772318 #6C7718
monochromatic
#050D19 #0E2344 #183D77 #2257AA #3373D6

Accessibility & contrast

On white

10.64
#183D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#183D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D77
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D77#FFFFFF#000000##FFFFFF
##183D771.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4379
Deuteranopia (green-blind)
#053A76
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183d77;
/* rgb */ color: rgb(24, 61, 119);
/* oklch */ color: oklch(36.8% 0.108 259.2);
Tailwind
colors: {
  custom: {
    50: '#64729f',
    500: '#183d77',
    950: '#000000',
  },
}
SCSS
$custom: #183d77;
$custom-light: #64729f;
$custom-dark: #000000;
JSON
{
  "hex": "#183d77",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 119
  },
  "hsl": {
    "h": 216.632,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36793,
    "c": 0.10803,
    "h": 259.2
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#183D77
secondary
#AC813F
accent
#A73EE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183D77

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

Preview Lab → · Contrast checker → · Palette generator →

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