#18377F#18377F

#18377F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.1% C 0.128 H 263.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#18377F
RGBrgb(24, 55, 127)
HSLhsl(222, 68%, 30%)
HSVhsv(222, 81%, 50%)
CMYKcmyk(81.1%, 56.7%, 0%, 50.2%)
CIE-LABlab(25.13, 16.95, -43.98)
CIE-LCHlch(25.13, 47.13, 291.07°)
OKLaboklab(36.06% -0.0141 -0.1268)
OKLCHoklch(36.06% 0.128 263.7)
XYZxyz(5.5723, 4.4582, 20.6414)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18377F #7F6018
analogous
#186B7F #18377F #2D187F
triadic
#18377F #7F1837 #377F18
tetradic
#18377F #7F186B #7F6018 #187F2D
square
#18377F #7F186B #7F6018 #187F2D
split-complementary
#18377F #7F2D18 #6B7F18
monochromatic
#050B1A #0E214C #18377F #224DB2 #3869D9

Accessibility & contrast

On white

11.10
#18377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18377F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18377F#FFFFFF#000000##FFFFFF
##18377F1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18377f;
/* rgb */ color: rgb(24, 55, 127);
/* oklch */ color: oklch(36.1% 0.128 263.7);
Tailwind
colors: {
  custom: {
    50: '#676da5',
    500: '#18377f',
    950: '#000000',
  },
}
SCSS
$custom: #18377f;
$custom-light: #676da5;
$custom-dark: #000000;
JSON
{
  "hex": "#18377f",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 221.942,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36061,
    "c": 0.12762,
    "h": 263.7
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#18377F
secondary
#B3903F
accent
#B73DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #18377F

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

Preview Lab → · Contrast checker → · Palette generator →

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