#18377A#18377A

#18377A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.6% C 0.120 H 263.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#18377A
RGBrgb(24, 55, 122)
HSLhsl(221, 67%, 29%)
HSVhsv(221, 80%, 48%)
CMYKcmyk(80.3%, 54.9%, 0%, 52.2%)
CIE-LABlab(24.74, 14.88, -41.46)
CIE-LCHlch(24.74, 44.05, 289.74°)
OKLaboklab(35.64% -0.0146 -0.1194)
OKLCHoklch(35.64% 0.12 263)
XYZxyz(5.2545, 4.3311, 18.9676)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18377A #7A5B18
analogous
#18687A #18377A #2A187A
triadic
#18377A #7A1837 #377A18
tetradic
#18377A #7A1868 #7A5B18 #187A2A
square
#18377A #7A1868 #7A5B18 #187A2A
split-complementary
#18377A #7A2A18 #687A18
monochromatic
#050C1A #0E2047 #18377A #224EAD #3568D7

Accessibility & contrast

On white

11.25
#18377A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#18377A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18377A
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18377A#FFFFFF#000000##FFFFFF
##18377A1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063F7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18377a;
/* rgb */ color: rgb(24, 55, 122);
/* oklch */ color: oklch(35.6% 0.120 263.0);
Tailwind
colors: {
  custom: {
    50: '#656da1',
    500: '#18377a',
    950: '#000000',
  },
}
SCSS
$custom: #18377a;
$custom-light: #656da1;
$custom-dark: #000000;
JSON
{
  "hex": "#18377a",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 221.02,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35637,
    "c": 0.12034,
    "h": 263
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#18377A
secondary
#AF8B3F
accent
#B43EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #18377A

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

Preview Lab → · Contrast checker → · Palette generator →

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