#18377E#18377E

#18377E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.126 H 263.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#18377E
RGBrgb(24, 55, 126)
HSLhsl(222, 68%, 29%)
HSVhsv(222, 81%, 49%)
CMYKcmyk(81%, 56.3%, 0%, 50.6%)
CIE-LABlab(25.05, 16.53, -43.48)
CIE-LCHlch(25.05, 46.51, 290.82°)
OKLaboklab(35.98% -0.0142 -0.1254)
OKLCHoklch(35.98% 0.126 263.5)
XYZxyz(5.5074, 4.4323, 20.2999)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18377E #7E5F18
analogous
#186A7E #18377E #2C187E
triadic
#18377E #7E1837 #377E18
tetradic
#18377E #7E186A #7E5F18 #187E2C
square
#18377E #7E186A #7E5F18 #187E2C
split-complementary
#18377E #7E2C18 #6A7E18
monochromatic
#050B1A #0E214B #18377E #224DB1 #3769D9

Accessibility & contrast

On white

11.13
#18377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#18377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18377E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18377E#FFFFFF#000000##FFFFFF
##18377E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18377e;
/* rgb */ color: rgb(24, 55, 126);
/* oklch */ color: oklch(36.0% 0.126 263.5);
Tailwind
colors: {
  custom: {
    50: '#676da4',
    500: '#18377e',
    950: '#000000',
  },
}
SCSS
$custom: #18377e;
$custom-light: #676da4;
$custom-dark: #000000;
JSON
{
  "hex": "#18377e",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 221.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35975,
    "c": 0.12617,
    "h": 263.5
  },
  "luminance": 0.04433
}

Semantic roles & 50–950 ramp

primary
#18377E
secondary
#B28F3F
accent
#B63DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #18377E

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

Preview Lab → · Contrast checker → · Palette generator →

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