#18378A#18378A

#18378A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.143 H 264.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#18378A
RGBrgb(24, 55, 138)
HSLhsl(224, 70%, 32%)
HSVhsv(224, 83%, 54%)
CMYKcmyk(82.6%, 60.1%, 0%, 45.9%)
CIE-LABlab(26.04, 21.44, -49.37)
CIE-LCHlch(26.04, 53.82, 293.48°)
OKLaboklab(37.03% -0.0134 -0.1427)
OKLCHoklch(37.03% 0.143 264.6)
XYZxyz(6.3287, 4.7608, 24.6252)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18378A #8A6B18
analogous
#18708A #18378A #32188A
triadic
#18378A #8A1837 #378A18
tetradic
#18378A #8A1870 #8A6B18 #188A32
square
#18378A #8A1870 #8A6B18 #188A32
split-complementary
#18378A #8A3218 #708A18
monochromatic
#060D22 #0F2256 #18378A #214CBE #3F6ADE

Accessibility & contrast

On white

10.76
#18378A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#18378A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18378A
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18378A#FFFFFF#000000##FFFFFF
##18378A1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18378a;
/* rgb */ color: rgb(24, 55, 138);
/* oklch */ color: oklch(37.0% 0.143 264.6);
Tailwind
colors: {
  custom: {
    50: '#6a6dad',
    500: '#18378a',
    950: '#000000',
  },
}
SCSS
$custom: #18378a;
$custom-light: #6a6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#18378a",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 223.684,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37031,
    "c": 0.14331,
    "h": 264.6
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#18378A
secondary
#BD9B40
accent
#BD3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #18378A

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

Preview Lab → · Contrast checker → · Palette generator →

#18378A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva