#18377C#18377C

#18377C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.8% C 0.123 H 263.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#18377C
RGBrgb(24, 55, 124)
HSLhsl(221, 68%, 29%)
HSVhsv(221, 81%, 49%)
CMYKcmyk(80.6%, 55.6%, 0%, 51.4%)
CIE-LABlab(24.89, 15.71, -42.47)
CIE-LCHlch(24.89, 45.28, 290.30°)
OKLaboklab(35.81% -0.0144 -0.1224)
OKLCHoklch(35.81% 0.123 263.3)
XYZxyz(5.3797, 4.3812, 19.6270)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18377C #7C5D18
analogous
#18697C #18377C #2B187C
triadic
#18377C #7C1837 #377C18
tetradic
#18377C #7C1869 #7C5D18 #187C2B
square
#18377C #7C1869 #7C5D18 #187C2B
split-complementary
#18377C #7C2B18 #697C18
monochromatic
#050B1A #0E2049 #18377C #224EAF #3668D8

Accessibility & contrast

On white

11.19
#18377C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18377C
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18377C#FFFFFF#000000##FFFFFF
##18377C1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18377c;
/* rgb */ color: rgb(24, 55, 124);
/* oklch */ color: oklch(35.8% 0.123 263.3);
Tailwind
colors: {
  custom: {
    50: '#666da2',
    500: '#18377c',
    950: '#000000',
  },
}
SCSS
$custom: #18377c;
$custom-light: #666da2;
$custom-dark: #000000;
JSON
{
  "hex": "#18377c",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 221.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35805,
    "c": 0.12326,
    "h": 263.3
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#18377C
secondary
#B18D3F
accent
#B53DEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #18377C

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

Preview Lab → · Contrast checker → · Palette generator →

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