#18387A#18387A

#18387A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.119 H 262.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#18387A
RGBrgb(24, 56, 122)
HSLhsl(220, 67%, 29%)
HSVhsv(220, 80%, 48%)
CMYKcmyk(80.3%, 54.1%, 0%, 52.2%)
CIE-LABlab(25.04, 14.17, -40.98)
CIE-LCHlch(25.04, 43.36, 289.08°)
OKLaboklab(35.86% -0.0154 -0.118)
OKLCHoklch(35.86% 0.119 262.6)
XYZxyz(5.3025, 4.4271, 18.9836)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18387A #7A5A18
analogous
#18697A #18387A #29187A
triadic
#18387A #7A1838 #387A18
tetradic
#18387A #7A1869 #7A5A18 #187A29
square
#18387A #7A1869 #7A5A18 #187A29
split-complementary
#18387A #7A2918 #697A18
monochromatic
#050C1A #0E2147 #18387A #224FAD #356AD7

Accessibility & contrast

On white

11.14
#18387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#18387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18387A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18387A#FFFFFF#000000##FFFFFF
##18387A1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18387a;
/* rgb */ color: rgb(24, 56, 122);
/* oklch */ color: oklch(35.9% 0.119 262.6);
Tailwind
colors: {
  custom: {
    50: '#656ea1',
    500: '#18387a',
    950: '#000000',
  },
}
SCSS
$custom: #18387a;
$custom-light: #656ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#18387a",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 220.408,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35864,
    "c": 0.11901,
    "h": 262.6
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#18387A
secondary
#AF8A3F
accent
#B23EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #18387A

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

Preview Lab → · Contrast checker → · Palette generator →

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