#183478#183478

#183478 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.121 H 264.1°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#183478
RGBrgb(24, 52, 120)
HSLhsl(223, 67%, 28%)
HSVhsv(223, 80%, 47%)
CMYKcmyk(80%, 56.7%, 0%, 52.9%)
CIE-LABlab(23.69, 16.19, -41.89)
CIE-LCHlch(23.69, 44.91, 291.13°)
OKLaboklab(34.79% -0.0124 -0.1208)
OKLCHoklch(34.79% 0.121 264.1)
XYZxyz(4.9936, 4.0057, 18.2756)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183478 #785C18
analogous
#186478 #183478 #2C1878
triadic
#183478 #781834 #347818
tetradic
#183478 #781864 #785C18 #18782C
square
#183478 #781864 #785C18 #18782C
split-complementary
#183478 #782C18 #647818
monochromatic
#050B1A #0E1E45 #183478 #224AAB #3463D6

Accessibility & contrast

On white

11.66
#183478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#183478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183478
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183478#FFFFFF#000000##FFFFFF
##1834781.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#004550
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183478;
/* rgb */ color: rgb(24, 52, 120);
/* oklch */ color: oklch(34.8% 0.121 264.1);
Tailwind
colors: {
  custom: {
    50: '#656aa0',
    500: '#183478',
    950: '#000000',
  },
}
SCSS
$custom: #183478;
$custom-light: #656aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#183478",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 222.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34794,
    "c": 0.1214,
    "h": 264.1
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#183478
secondary
#AD8D3F
accent
#B83EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #183478

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

Preview Lab → · Contrast checker → · Palette generator →

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