#183F77#183F77

#183F77 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.105 H 258.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#183F77
RGBrgb(24, 63, 119)
HSLhsl(215, 66%, 28%)
HSVhsv(215, 80%, 47%)
CMYKcmyk(79.8%, 47.1%, 0%, 53.3%)
CIE-LABlab(26.96, 8.01, -35.98)
CIE-LCHlch(26.96, 36.86, 282.55°)
OKLaboklab(37.27% -0.022 -0.1031)
OKLCHoklch(37.27% 0.105 258)
XYZxyz(5.4827, 5.0805, 18.1409)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F77 #775018
analogous
#186F77 #183F77 #201877
triadic
#183F77 #77183F #3F7718
tetradic
#183F77 #77186F #775018 #187720
square
#183F77 #77186F #775018 #187720
split-complementary
#183F77 #772018 #6F7718
monochromatic
#050D19 #0E2444 #183F77 #225AAA #3376D6

Accessibility & contrast

On white

10.42
#183F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#183F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F77
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F77#FFFFFF#000000##FFFFFF
##183F771.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224479
Deuteranopia (green-blind)
#0D3C76
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183f77;
/* rgb */ color: rgb(24, 63, 119);
/* oklch */ color: oklch(37.3% 0.105 258.0);
Tailwind
colors: {
  custom: {
    50: '#64739f',
    500: '#183f77',
    950: '#000000',
  },
}
SCSS
$custom: #183f77;
$custom-light: #64739f;
$custom-dark: #000000;
JSON
{
  "hex": "#183f77",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 119
  },
  "hsl": {
    "h": 215.368,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37273,
    "c": 0.10547,
    "h": 258
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#183F77
secondary
#AC7F3F
accent
#A33EE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #183F77

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

Preview Lab → · Contrast checker → · Palette generator →

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