#183978#183978

#183978 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.115 H 261.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#183978
RGBrgb(24, 57, 120)
HSLhsl(219, 67%, 28%)
HSVhsv(219, 80%, 47%)
CMYKcmyk(80%, 52.5%, 0%, 52.9%)
CIE-LABlab(25.19, 12.64, -39.47)
CIE-LCHlch(25.19, 41.44, 287.75°)
OKLaboklab(35.93% -0.0165 -0.1135)
OKLCHoklch(35.93% 0.115 261.7)
XYZxyz(5.2288, 4.4759, 18.3540)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183978 #785718
analogous
#186978 #183978 #271878
triadic
#183978 #781839 #397818
tetradic
#183978 #781869 #785718 #187827
square
#183978 #781869 #785718 #187827
split-complementary
#183978 #782718 #697818
monochromatic
#050C1A #0E2145 #183978 #2251AB #346CD6

Accessibility & contrast

On white

11.08
#183978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183978
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183978#FFFFFF#000000##FFFFFF
##1839781.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12407A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183978;
/* rgb */ color: rgb(24, 57, 120);
/* oklch */ color: oklch(35.9% 0.115 261.7);
Tailwind
colors: {
  custom: {
    50: '#656e9f',
    500: '#183978',
    950: '#000000',
  },
}
SCSS
$custom: #183978;
$custom-light: #656e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#183978",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 219.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35931,
    "c": 0.11474,
    "h": 261.7
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#183978
secondary
#AD873F
accent
#AF3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183978

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

Preview Lab → · Contrast checker → · Palette generator →

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