#182378#182378

#182378 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.143 H 269.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#182378
RGBrgb(24, 35, 120)
HSLhsl(233, 67%, 28%)
HSVhsv(233, 80%, 47%)
CMYKcmyk(80%, 70.8%, 0%, 52.9%)
CIE-LABlab(19.02, 28.12, -49.52)
CIE-LCHlch(19.02, 56.95, 299.59°)
OKLaboklab(31.33% -0.0007 -0.1433)
OKLCHoklch(31.33% 0.143 269.7)
XYZxyz(4.3667, 2.7518, 18.0667)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182378 #786D18
analogous
#185378 #182378 #3D1878
triadic
#182378 #781823 #237818
tetradic
#182378 #781853 #786D18 #18783D
square
#182378 #781853 #786D18 #18783D
split-complementary
#182378 #783D18 #537818
monochromatic
#05071A #0E1445 #182378 #2232AB #3447D6

Accessibility & contrast

On white

13.54
#182378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182378
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182378#FFFFFF#000000##FFFFFF
##1823781.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002A76
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182378;
/* rgb */ color: rgb(24, 35, 120);
/* oklch */ color: oklch(31.3% 0.143 269.7);
Tailwind
colors: {
  custom: {
    50: '#675ea0',
    500: '#182378',
    950: '#000000',
  },
}
SCSS
$custom: #182378;
$custom-light: #675ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#182378",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 233.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31329,
    "c": 0.14335,
    "h": 269.7
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#182378
secondary
#ADA03F
accent
#D63EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #182378

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

Preview Lab → · Contrast checker → · Palette generator →

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