#183873#183873

#183873 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.109 H 261.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#183873
RGBrgb(24, 56, 115)
HSLhsl(219, 65%, 27%)
HSVhsv(219, 79%, 45%)
CMYKcmyk(79.1%, 51.3%, 0%, 54.9%)
CIE-LABlab(24.51, 11.27, -37.38)
CIE-LCHlch(24.51, 39.04, 286.78°)
OKLaboklab(35.3% -0.0164 -0.1074)
OKLCHoklch(35.3% 0.109 261.3)
XYZxyz(4.8843, 4.2598, 16.7811)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183873 #735318
analogous
#186673 #183873 #251873
triadic
#183873 #731838 #387318
tetradic
#183873 #731866 #735318 #187325
square
#183873 #731866 #735318 #187325
split-complementary
#183873 #732518 #667318
monochromatic
#050C19 #0D1F40 #183873 #2351A6 #316BD4

Accessibility & contrast

On white

11.34
#183873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183873
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183873#FFFFFF#000000##FFFFFF
##1838731.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183873;
/* rgb */ color: rgb(24, 56, 115);
/* oklch */ color: oklch(35.3% 0.109 261.3);
Tailwind
colors: {
  custom: {
    50: '#646e9c',
    500: '#183873',
    950: '#000000',
  },
}
SCSS
$custom: #183873;
$custom-light: #646e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#183873",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 218.901,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35298,
    "c": 0.10866,
    "h": 261.3
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#183873
secondary
#A8833F
accent
#AD3FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183873

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

Preview Lab → · Contrast checker → · Palette generator →

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