#18366E#18366E

#18366E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.4% C 0.104 H 261.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#18366E
RGBrgb(24, 54, 110)
HSLhsl(219, 64%, 26%)
HSVhsv(219, 78%, 43%)
CMYKcmyk(78.2%, 50.9%, 0%, 56.9%)
CIE-LABlab(23.53, 10.61, -35.76)
CIE-LCHlch(23.53, 37.30, 286.53°)
OKLaboklab(34.43% -0.0153 -0.1027)
OKLCHoklch(34.43% 0.104 261.5)
XYZxyz(4.5093, 3.9578, 15.2751)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18366E #6E5018
analogous
#18616E #18366E #25186E
triadic
#18366E #6E1836 #366E18
tetradic
#18366E #6E1861 #6E5018 #186E25
square
#18366E #6E1861 #6E5018 #186E25
split-complementary
#18366E #6E2518 #616E18
monochromatic
#050C19 #0D1D3C #18366E #234FA0 #2F68D2

Accessibility & contrast

On white

11.72
#18366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#18366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18366E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18366E#FFFFFF#000000##FFFFFF
##18366E1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18366e;
/* rgb */ color: rgb(24, 54, 110);
/* oklch */ color: oklch(34.4% 0.104 261.5);
Tailwind
colors: {
  custom: {
    50: '#626c98',
    500: '#18366e',
    950: '#000000',
  },
}
SCSS
$custom: #18366e;
$custom-light: #626c98;
$custom-dark: #000000;
JSON
{
  "hex": "#18366e",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 219.07,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3443,
    "c": 0.10384,
    "h": 261.5
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#18366E
secondary
#A4803E
accent
#AD41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #18366E

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

Preview Lab → · Contrast checker → · Palette generator →

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