#18376C#18376C

#18376C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.100 H 260.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#18376C
RGBrgb(24, 55, 108)
HSLhsl(218, 64%, 26%)
HSVhsv(218, 78%, 42%)
CMYKcmyk(77.8%, 49.1%, 0%, 57.6%)
CIE-LABlab(23.70, 9.07, -34.21)
CIE-LCHlch(23.70, 35.39, 284.85°)
OKLaboklab(34.51% -0.0166 -0.0981)
OKLCHoklch(34.51% 0.1 260.4)
XYZxyz(4.4487, 4.0088, 14.7238)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18376C #6C4D18
analogous
#18616C #18376C #23186C
triadic
#18376C #6C1837 #376C18
tetradic
#18376C #6C1861 #6C4D18 #186C23
square
#18376C #6C1861 #6C4D18 #186C23
split-complementary
#18376C #6C2318 #616C18
monochromatic
#060D19 #0D1D3A #18376C #23509E #2E6AD0

Accessibility & contrast

On white

11.66
#18376C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#18376C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18376C
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18376C#FFFFFF#000000##FFFFFF
##18376C1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6E
Deuteranopia (green-blind)
#07356B
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18376c;
/* rgb */ color: rgb(24, 55, 108);
/* oklch */ color: oklch(34.5% 0.100 260.4);
Tailwind
colors: {
  custom: {
    50: '#626d96',
    500: '#18376c',
    950: '#000000',
  },
}
SCSS
$custom: #18376c;
$custom-light: #626d96;
$custom-dark: #000000;
JSON
{
  "hex": "#18376c",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 108
  },
  "hsl": {
    "h": 217.857,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34514,
    "c": 0.0995,
    "h": 260.4
  },
  "luminance": 0.04009
}

Semantic roles & 50–950 ramp

primary
#18376C
secondary
#A27D3E
accent
#AA41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #18376C

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

Preview Lab → · Contrast checker → · Palette generator →

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