#183879#183879

#183879 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.118 H 262.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#183879
RGBrgb(24, 56, 121)
HSLhsl(220, 67%, 28%)
HSVhsv(220, 80%, 47%)
CMYKcmyk(80.2%, 53.7%, 0%, 52.5%)
CIE-LABlab(24.96, 13.76, -40.47)
CIE-LCHlch(24.96, 42.74, 288.78°)
OKLaboklab(35.78% -0.0155 -0.1165)
OKLCHoklch(35.78% 0.118 262.4)
XYZxyz(5.2408, 4.4024, 18.6590)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183879 #795918
analogous
#186879 #183879 #281879
triadic
#183879 #791838 #387918
tetradic
#183879 #791868 #795918 #187928
square
#183879 #791868 #795918 #187928
split-complementary
#183879 #792818 #687918
monochromatic
#050C1A #0E2046 #183879 #2250AC #356AD7

Accessibility & contrast

On white

11.17
#183879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#183879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183879
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183879#FFFFFF#000000##FFFFFF
##1838791.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183879;
/* rgb */ color: rgb(24, 56, 121);
/* oklch */ color: oklch(35.8% 0.118 262.4);
Tailwind
colors: {
  custom: {
    50: '#656ea0',
    500: '#183879',
    950: '#000000',
  },
}
SCSS
$custom: #183879;
$custom-light: #656ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#183879",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 220.206,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35782,
    "c": 0.11754,
    "h": 262.4
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#183879
secondary
#AE893F
accent
#B13EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #183879

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

Preview Lab → · Contrast checker → · Palette generator →

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