#18377D#18377D

#18377D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.125 H 263.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#18377D
RGBrgb(24, 55, 125)
HSLhsl(222, 68%, 29%)
HSVhsv(222, 81%, 49%)
CMYKcmyk(80.8%, 56%, 0%, 51%)
CIE-LABlab(24.97, 16.12, -42.97)
CIE-LCHlch(24.97, 45.90, 290.56°)
OKLaboklab(35.89% -0.0143 -0.1239)
OKLCHoklch(35.89% 0.125 263.4)
XYZxyz(5.4432, 4.4066, 19.9617)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18377D #7D5E18
analogous
#186A7D #18377D #2C187D
triadic
#18377D #7D1837 #377D18
tetradic
#18377D #7D186A #7D5E18 #187D2C
square
#18377D #7D186A #7D5E18 #187D2C
split-complementary
#18377D #7D2C18 #6A7D18
monochromatic
#050B1A #0E204A #18377D #224EB0 #3768D9

Accessibility & contrast

On white

11.16
#18377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#18377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18377D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18377D#FFFFFF#000000##FFFFFF
##18377D1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18377d;
/* rgb */ color: rgb(24, 55, 125);
/* oklch */ color: oklch(35.9% 0.125 263.4);
Tailwind
colors: {
  custom: {
    50: '#666da3',
    500: '#18377d',
    950: '#000000',
  },
}
SCSS
$custom: #18377d;
$custom-light: #666da3;
$custom-dark: #000000;
JSON
{
  "hex": "#18377d",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 221.584,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3589,
    "c": 0.12472,
    "h": 263.4
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#18377D
secondary
#B28E3F
accent
#B53DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #18377D

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

Preview Lab → · Contrast checker → · Palette generator →

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