#183979#183979

#183979 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.116 H 261.9°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#183979
RGBrgb(24, 57, 121)
HSLhsl(220, 67%, 28%)
HSVhsv(220, 80%, 47%)
CMYKcmyk(80.2%, 52.9%, 0%, 52.5%)
CIE-LABlab(25.26, 13.05, -39.98)
CIE-LCHlch(25.26, 42.06, 288.08°)
OKLaboklab(36.01% -0.0164 -0.1151)
OKLCHoklch(36.01% 0.116 261.9)
XYZxyz(5.2898, 4.5003, 18.6753)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183979 #795818
analogous
#186979 #183979 #271879
triadic
#183979 #791839 #397918
tetradic
#183979 #791869 #795818 #187927
square
#183979 #791869 #795818 #187927
split-complementary
#183979 #792718 #697918
monochromatic
#050C1A #0E2146 #183979 #2251AC #356CD7

Accessibility & contrast

On white

11.05
#183979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#183979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183979
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183979#FFFFFF#000000##FFFFFF
##1839791.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183979;
/* rgb */ color: rgb(24, 57, 121);
/* oklch */ color: oklch(36.0% 0.116 261.9);
Tailwind
colors: {
  custom: {
    50: '#656ea0',
    500: '#183979',
    950: '#000000',
  },
}
SCSS
$custom: #183979;
$custom-light: #656ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#183979",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 219.588,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36012,
    "c": 0.11622,
    "h": 261.9
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#183979
secondary
#AE883F
accent
#AF3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #183979

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

Preview Lab → · Contrast checker → · Palette generator →

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