#182078#182078

#182078 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.147 H 270.3°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#182078
RGBrgb(24, 32, 120)
HSLhsl(235, 67%, 28%)
HSVhsv(235, 80%, 47%)
CMYKcmyk(80%, 73.3%, 0%, 52.9%)
CIE-LABlab(18.29, 30.12, -50.73)
CIE-LCHlch(18.29, 58.99, 300.70°)
OKLaboklab(30.8% 0.0009 -0.1469)
OKLCHoklch(30.8% 0.147 270.3)
XYZxyz(4.2822, 2.5828, 18.0385)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182078 #787018
analogous
#185078 #182078 #401878
triadic
#182078 #781820 #207818
tetradic
#182078 #781850 #787018 #187840
square
#182078 #781850 #787018 #187840
split-complementary
#182078 #784018 #507818
monochromatic
#05071A #0E1245 #182078 #222EAB #3442D6

Accessibility & contrast

On white

13.85
#182078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182078
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182078#FFFFFF#000000##FFFFFF
##1820781.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182078;
/* rgb */ color: rgb(24, 32, 120);
/* oklch */ color: oklch(30.8% 0.147 270.3);
Tailwind
colors: {
  custom: {
    50: '#675ca0',
    500: '#182078',
    950: '#000000',
  },
}
SCSS
$custom: #182078;
$custom-light: #675ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#182078",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 235,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30799,
    "c": 0.14686,
    "h": 270.3
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#182078
secondary
#ADA43F
accent
#DB3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #182078

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

Preview Lab → · Contrast checker → · Palette generator →

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