#183178#183178

#183178 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.125 H 265.4°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#183178
RGBrgb(24, 49, 120)
HSLhsl(224, 67%, 28%)
HSVhsv(224, 80%, 47%)
CMYKcmyk(80%, 59.2%, 0%, 52.9%)
CIE-LABlab(22.81, 18.33, -43.31)
CIE-LCHlch(22.81, 47.03, 292.94°)
OKLaboklab(34.13% -0.01 -0.125)
OKLCHoklch(34.13% 0.125 265.4)
XYZxyz(4.8640, 3.7463, 18.2324)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183178 #785F18
analogous
#186178 #183178 #2F1878
triadic
#183178 #781831 #317818
tetradic
#183178 #781861 #785F18 #18782F
square
#183178 #781861 #785F18 #18782F
split-complementary
#183178 #782F18 #617818
monochromatic
#050A1A #0E1C45 #183178 #2246AB #345ED6

Accessibility & contrast

On white

12.00
#183178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#183178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183178
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183178#FFFFFF#000000##FFFFFF
##1831781.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183178;
/* rgb */ color: rgb(24, 49, 120);
/* oklch */ color: oklch(34.1% 0.125 265.4);
Tailwind
colors: {
  custom: {
    50: '#6568a0',
    500: '#183178',
    950: '#000000',
  },
}
SCSS
$custom: #183178;
$custom-light: #6568a0;
$custom-dark: #000000;
JSON
{
  "hex": "#183178",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 224.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34133,
    "c": 0.12541,
    "h": 265.4
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#183178
secondary
#AD903F
accent
#BD3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #183178

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

Preview Lab → · Contrast checker → · Palette generator →

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