#18377B#18377B

#18377B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.7% C 0.122 H 263.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#18377B
RGBrgb(24, 55, 123)
HSLhsl(221, 67%, 29%)
HSVhsv(221, 80%, 48%)
CMYKcmyk(80.5%, 55.3%, 0%, 51.8%)
CIE-LABlab(24.82, 15.30, -41.97)
CIE-LCHlch(24.82, 44.67, 290.03°)
OKLaboklab(35.72% -0.0145 -0.1209)
OKLCHoklch(35.72% 0.122 263.2)
XYZxyz(5.3168, 4.3560, 19.2956)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18377B #7B5C18
analogous
#18697B #18377B #2B187B
triadic
#18377B #7B1837 #377B18
tetradic
#18377B #7B1869 #7B5C18 #187B2B
square
#18377B #7B1869 #7B5C18 #187B2B
split-complementary
#18377B #7B2B18 #697B18
monochromatic
#050B1A #0E2048 #18377B #224EAE #3668D8

Accessibility & contrast

On white

11.22
#18377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18377B
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18377B#FFFFFF#000000##FFFFFF
##18377B1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407D
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18377b;
/* rgb */ color: rgb(24, 55, 123);
/* oklch */ color: oklch(35.7% 0.122 263.2);
Tailwind
colors: {
  custom: {
    50: '#666da2',
    500: '#18377b',
    950: '#000000',
  },
}
SCSS
$custom: #18377b;
$custom-light: #666da2;
$custom-dark: #000000;
JSON
{
  "hex": "#18377b",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 221.212,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35721,
    "c": 0.1218,
    "h": 263.2
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18377B

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

Preview Lab → · Contrast checker → · Palette generator →

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