#183973#183973

#183973 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.107 H 260.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#183973
RGBrgb(24, 57, 115)
HSLhsl(218, 65%, 27%)
HSVhsv(218, 79%, 45%)
CMYKcmyk(79.1%, 50.4%, 0%, 54.9%)
CIE-LABlab(24.82, 10.56, -36.89)
CIE-LCHlch(24.82, 38.37, 285.98°)
OKLaboklab(35.53% -0.0173 -0.1059)
OKLCHoklch(35.53% 0.107 260.7)
XYZxyz(4.9332, 4.3577, 16.7975)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183973 #735218
analogous
#186773 #183973 #251873
triadic
#183973 #731839 #397318
tetradic
#183973 #731867 #735218 #187325
square
#183973 #731867 #735218 #187325
split-complementary
#183973 #732518 #677318
monochromatic
#050D19 #0D2040 #183973 #2352A6 #316CD4

Accessibility & contrast

On white

11.22
#183973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#183973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183973
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183973#FFFFFF#000000##FFFFFF
##1839731.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183973;
/* rgb */ color: rgb(24, 57, 115);
/* oklch */ color: oklch(35.5% 0.107 260.7);
Tailwind
colors: {
  custom: {
    50: '#646e9c',
    500: '#183973',
    950: '#000000',
  },
}
SCSS
$custom: #183973;
$custom-light: #646e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#183973",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 115
  },
  "hsl": {
    "h": 218.242,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35534,
    "c": 0.10734,
    "h": 260.7
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#183973
secondary
#A8823F
accent
#AB3FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183973

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

Preview Lab → · Contrast checker → · Palette generator →

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