#18376F#18376F

#18376F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.104 H 261.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#18376F
RGBrgb(24, 55, 111)
HSLhsl(219, 64%, 26%)
HSVhsv(219, 78%, 44%)
CMYKcmyk(78.4%, 50.5%, 0%, 56.5%)
CIE-LABlab(23.91, 10.32, -35.79)
CIE-LCHlch(23.91, 37.25, 286.08°)
OKLaboklab(34.75% -0.0161 -0.1028)
OKLCHoklch(34.75% 0.104 261.1)
XYZxyz(4.6111, 4.0738, 15.5791)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18376F #6F5018
analogous
#18636F #18376F #25186F
triadic
#18376F #6F1837 #376F18
tetradic
#18376F #6F1863 #6F5018 #186F25
square
#18376F #6F1863 #6F5018 #186F25
split-complementary
#18376F #6F2518 #636F18
monochromatic
#050C19 #0D1E3D #18376F #2350A1 #2F69D2

Accessibility & contrast

On white

11.57
#18376F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#18376F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18376F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18376F#FFFFFF#000000##FFFFFF
##18376F1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18376f;
/* rgb */ color: rgb(24, 55, 111);
/* oklch */ color: oklch(34.7% 0.104 261.1);
Tailwind
colors: {
  custom: {
    50: '#636d99',
    500: '#18376f',
    950: '#000000',
  },
}
SCSS
$custom: #18376f;
$custom-light: #636d99;
$custom-dark: #000000;
JSON
{
  "hex": "#18376f",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 111
  },
  "hsl": {
    "h": 218.621,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34746,
    "c": 0.10401,
    "h": 261.1
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#18376F
secondary
#A5803E
accent
#AC40E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #18376F

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

Preview Lab → · Contrast checker → · Palette generator →

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