#183771#183771

#183771 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.107 H 261.5°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#183771
RGBrgb(24, 55, 113)
HSLhsl(219, 65%, 27%)
HSVhsv(219, 79%, 44%)
CMYKcmyk(78.8%, 51.3%, 0%, 55.7%)
CIE-LABlab(24.06, 11.15, -36.84)
CIE-LCHlch(24.06, 38.49, 286.84°)
OKLaboklab(34.9% -0.0158 -0.1058)
OKLCHoklch(34.9% 0.107 261.5)
XYZxyz(4.7224, 4.1183, 16.1656)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183771 #715218
analogous
#186471 #183771 #251871
triadic
#183771 #711837 #377118
tetradic
#183771 #711864 #715218 #187125
square
#183771 #711864 #715218 #187125
split-complementary
#183771 #712518 #647118
monochromatic
#050C19 #0D1E3F #183771 #2350A3 #3069D3

Accessibility & contrast

On white

11.51
#183771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#183771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183771
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183771#FFFFFF#000000##FFFFFF
##1837711.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183771;
/* rgb */ color: rgb(24, 55, 113);
/* oklch */ color: oklch(34.9% 0.107 261.5);
Tailwind
colors: {
  custom: {
    50: '#636d9a',
    500: '#183771',
    950: '#000000',
  },
}
SCSS
$custom: #183771;
$custom-light: #636d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#183771",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 219.101,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34904,
    "c": 0.10701,
    "h": 261.5
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#183771
secondary
#A6823E
accent
#AD40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183771

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

Preview Lab → · Contrast checker → · Palette generator →

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