#183872#183872

#183872 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.107 H 261.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#183872
RGBrgb(24, 56, 114)
HSLhsl(219, 65%, 27%)
HSVhsv(219, 79%, 45%)
CMYKcmyk(78.9%, 50.9%, 0%, 55.3%)
CIE-LABlab(24.44, 10.85, -36.86)
CIE-LCHlch(24.44, 38.42, 286.40°)
OKLaboklab(35.22% -0.0165 -0.1059)
OKLCHoklch(35.22% 0.107 261.1)
XYZxyz(4.8270, 4.2369, 16.4797)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183872 #725218
analogous
#186572 #183872 #251872
triadic
#183872 #721838 #387218
tetradic
#183872 #721865 #725218 #187225
square
#183872 #721865 #725218 #187225
split-complementary
#183872 #722518 #657218
monochromatic
#050C19 #0D1F3F #183872 #2351A5 #316BD4

Accessibility & contrast

On white

11.37
#183872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#183872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183872
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183872#FFFFFF#000000##FFFFFF
##1838721.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183872;
/* rgb */ color: rgb(24, 56, 114);
/* oklch */ color: oklch(35.2% 0.107 261.1);
Tailwind
colors: {
  custom: {
    50: '#636e9b',
    500: '#183872',
    950: '#000000',
  },
}
SCSS
$custom: #183872;
$custom-light: #636e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#183872",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 218.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35219,
    "c": 0.10717,
    "h": 261.1
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#183872
secondary
#A7823E
accent
#AC40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183872

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

Preview Lab → · Contrast checker → · Palette generator →

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