#18376E#18376E

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

Color values

HEX#18376E
RGBrgb(24, 55, 110)
HSLhsl(218, 64%, 26%)
HSVhsv(218, 78%, 43%)
CMYKcmyk(78.2%, 50%, 0%, 56.9%)
CIE-LABlab(23.84, 9.90, -35.26)
CIE-LCHlch(23.84, 36.63, 285.68°)
OKLaboklab(34.67% -0.0163 -0.1012)
OKLCHoklch(34.67% 0.103 260.9)
XYZxyz(4.5563, 4.0518, 15.2908)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18376E #6E4F18
analogous
#18626E #18376E #24186E
triadic
#18376E #6E1837 #376E18
tetradic
#18376E #6E1862 #6E4F18 #186E24
square
#18376E #6E1862 #6E4F18 #186E24
split-complementary
#18376E #6E2418 #626E18
monochromatic
#050D19 #0D1E3C #18376E #2350A0 #2F69D2

Accessibility & contrast

On white

11.60
#18376E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18376E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18376E#FFFFFF#000000##FFFFFF
##18376E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D70
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18376e;
/* rgb */ color: rgb(24, 55, 110);
/* oklch */ color: oklch(34.7% 0.103 260.9);
Tailwind
colors: {
  custom: {
    50: '#626d98',
    500: '#18376e',
    950: '#000000',
  },
}
SCSS
$custom: #18376e;
$custom-light: #626d98;
$custom-dark: #000000;
JSON
{
  "hex": "#18376e",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 110
  },
  "hsl": {
    "h": 218.372,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34668,
    "c": 0.10251,
    "h": 260.9
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#18376E
secondary
#A47F3E
accent
#AB41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #18376E

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

Preview Lab → · Contrast checker → · Palette generator →

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