#183971#183971

#183971 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.104 H 260.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#183971
RGBrgb(24, 57, 113)
HSLhsl(218, 65%, 27%)
HSVhsv(218, 79%, 44%)
CMYKcmyk(78.8%, 49.6%, 0%, 55.7%)
CIE-LABlab(24.68, 9.73, -35.84)
CIE-LCHlch(24.68, 37.14, 285.19°)
OKLaboklab(35.38% -0.0176 -0.1029)
OKLCHoklch(35.38% 0.104 260.3)
XYZxyz(4.8194, 4.3122, 16.1979)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183971 #715018
analogous
#186671 #183971 #241871
triadic
#183971 #711839 #397118
tetradic
#183971 #711866 #715018 #187124
square
#183971 #711866 #715018 #187124
split-complementary
#183971 #712418 #667118
monochromatic
#050D19 #0D203F #183971 #2352A3 #306DD3

Accessibility & contrast

On white

11.27
#183971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#183971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183971
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183971#FFFFFF#000000##FFFFFF
##1839711.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#033770
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183971;
/* rgb */ color: rgb(24, 57, 113);
/* oklch */ color: oklch(35.4% 0.104 260.3);
Tailwind
colors: {
  custom: {
    50: '#636e9a',
    500: '#183971',
    950: '#000000',
  },
}
SCSS
$custom: #183971;
$custom-light: #636e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#183971",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 217.753,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35379,
    "c": 0.10435,
    "h": 260.3
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#183971
secondary
#A6803E
accent
#AA40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183971

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

Preview Lab → · Contrast checker → · Palette generator →

#183971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva