#182178#182178

#182178 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.146 H 270.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#182178
RGBrgb(24, 33, 120)
HSLhsl(234, 67%, 28%)
HSVhsv(234, 80%, 47%)
CMYKcmyk(80%, 72.5%, 0%, 52.9%)
CIE-LABlab(18.53, 29.46, -50.33)
CIE-LCHlch(18.53, 58.32, 300.34°)
OKLaboklab(30.97% 0.0004 -0.1457)
OKLCHoklch(30.97% 0.146 270.1)
XYZxyz(4.3096, 2.6375, 18.0476)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182178 #786F18
analogous
#185178 #182178 #3F1878
triadic
#182178 #781821 #217818
tetradic
#182178 #781851 #786F18 #18783F
square
#182178 #781851 #786F18 #18783F
split-complementary
#182178 #783F18 #517818
monochromatic
#05071A #0E1345 #182178 #222FAB #3443D6

Accessibility & contrast

On white

13.75
#182178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182178
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182178#FFFFFF#000000##FFFFFF
##1821781.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182178;
/* rgb */ color: rgb(24, 33, 120);
/* oklch */ color: oklch(31.0% 0.146 270.1);
Tailwind
colors: {
  custom: {
    50: '#675ca0',
    500: '#182178',
    950: '#000000',
  },
}
SCSS
$custom: #182178;
$custom-light: #675ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#182178",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 234.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30973,
    "c": 0.14571,
    "h": 270.1
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#182178
secondary
#ADA33F
accent
#DA3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #182178

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

Preview Lab → · Contrast checker → · Palette generator →

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