#18376B#18376B

#18376B is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.4% C 0.098 H 260.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#18376B
RGBrgb(24, 55, 107)
HSLhsl(218, 63%, 26%)
HSVhsv(218, 78%, 42%)
CMYKcmyk(77.6%, 48.6%, 0%, 58%)
CIE-LABlab(23.63, 8.65, -33.68)
CIE-LCHlch(23.63, 34.77, 284.41°)
OKLaboklab(34.44% -0.0168 -0.0965)
OKLCHoklch(34.44% 0.098 260.1)
XYZxyz(4.3958, 3.9876, 14.4451)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18376B #6B4C18
analogous
#18606B #18376B #22186B
triadic
#18376B #6B1837 #376B18
tetradic
#18376B #6B1860 #6B4C18 #186B22
square
#18376B #6B1860 #6B4C18 #186B22
split-complementary
#18376B #6B2218 #606B18
monochromatic
#060D19 #0D1D39 #18376B #23519D #2E6ACF

Accessibility & contrast

On white

11.68
#18376B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18376B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18376B#FFFFFF#000000##FFFFFF
##18376B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6D
Deuteranopia (green-blind)
#09356A
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18376b;
/* rgb */ color: rgb(24, 55, 107);
/* oklch */ color: oklch(34.4% 0.098 260.1);
Tailwind
colors: {
  custom: {
    50: '#626d96',
    500: '#18376b',
    950: '#000000',
  },
}
SCSS
$custom: #18376b;
$custom-light: #626d96;
$custom-dark: #000000;
JSON
{
  "hex": "#18376b",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 107
  },
  "hsl": {
    "h": 217.59,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34438,
    "c": 0.09799,
    "h": 260.1
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#18376B
secondary
#A17C3E
accent
#A941E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #18376B

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

Preview Lab → · Contrast checker → · Palette generator →

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