#18378F#18378F

#18378F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.150 H 264.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#18378F
RGBrgb(24, 55, 143)
HSLhsl(224, 71%, 33%)
HSVhsv(224, 83%, 56%)
CMYKcmyk(83.2%, 61.5%, 0%, 43.9%)
CIE-LABlab(26.47, 23.46, -51.76)
CIE-LCHlch(26.47, 56.83, 294.38°)
OKLaboklab(37.49% -0.0132 -0.1497)
OKLCHoklch(37.49% 0.15 264.9)
XYZxyz(6.6990, 4.9089, 26.5757)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18378F #8F7018
analogous
#18728F #18378F #35188F
triadic
#18378F #8F1837 #378F18
tetradic
#18378F #8F1872 #8F7018 #188F35
square
#18378F #8F1872 #8F7018 #188F35
split-complementary
#18378F #8F3518 #728F18
monochromatic
#060F26 #0F235B #18378F #214BC3 #426BDF

Accessibility & contrast

On white

10.60
#18378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#18378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18378F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18378F#FFFFFF#000000##FFFFFF
##18378F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18378f;
/* rgb */ color: rgb(24, 55, 143);
/* oklch */ color: oklch(37.5% 0.150 264.9);
Tailwind
colors: {
  custom: {
    50: '#6b6db1',
    500: '#18378f',
    950: '#000000',
  },
}
SCSS
$custom: #18378f;
$custom-light: #6b6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#18378f",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 224.37,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37488,
    "c": 0.15028,
    "h": 264.9
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#18378F
secondary
#C09F43
accent
#BF3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #18378F

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

Preview Lab → · Contrast checker → · Palette generator →

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