#18388D#18388D

#18388D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.146 H 264.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#18388D
RGBrgb(24, 56, 141)
HSLhsl(224, 71%, 32%)
HSVhsv(224, 83%, 55%)
CMYKcmyk(83%, 60.3%, 0%, 44.7%)
CIE-LABlab(26.58, 21.96, -50.35)
CIE-LCHlch(26.58, 54.93, 293.56°)
OKLaboklab(37.51% -0.0139 -0.1456)
OKLCHoklch(37.51% 0.146 264.5)
XYZxyz(6.5969, 4.9448, 25.8009)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18388D #8D6D18
analogous
#18728D #18388D #33188D
triadic
#18388D #8D1838 #388D18
tetradic
#18388D #8D1872 #8D6D18 #188D33
square
#18388D #8D1872 #8D6D18 #188D33
split-complementary
#18388D #8D3318 #728D18
monochromatic
#060E24 #0F2359 #18388D #214DC1 #416CDF

Accessibility & contrast

On white

10.56
#18388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#18388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18388D
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18388D#FFFFFF#000000##FFFFFF
##18388D1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18388d;
/* rgb */ color: rgb(24, 56, 141);
/* oklch */ color: oklch(37.5% 0.146 264.5);
Tailwind
colors: {
  custom: {
    50: '#6b6eaf',
    500: '#18388d',
    950: '#000000',
  },
}
SCSS
$custom: #18388d;
$custom-light: #6b6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#18388d",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 223.59,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.14623,
    "h": 264.5
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#18388D
secondary
#BF9D42
accent
#BD3AEE
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #18388D

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

Preview Lab → · Contrast checker → · Palette generator →

#18388D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva