#18366D#18366D

#18366D is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.102 H 261.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#18366D
RGBrgb(24, 54, 109)
HSLhsl(219, 64%, 26%)
HSVhsv(219, 78%, 43%)
CMYKcmyk(78%, 50.5%, 0%, 57.3%)
CIE-LABlab(23.46, 10.20, -35.24)
CIE-LCHlch(23.46, 36.68, 286.14°)
OKLaboklab(34.35% -0.0155 -0.1011)
OKLCHoklch(34.35% 0.102 261.3)
XYZxyz(4.4552, 3.9362, 14.9900)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18366D #6D4F18
analogous
#18606D #18366D #24186D
triadic
#18366D #6D1836 #366D18
tetradic
#18366D #6D1860 #6D4F18 #186D24
square
#18366D #6D1860 #6D4F18 #186D24
split-complementary
#18366D #6D2418 #606D18
monochromatic
#060C19 #0D1D3B #18366D #234F9F #2E68D1

Accessibility & contrast

On white

11.75
#18366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18366D
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18366D#FFFFFF#000000##FFFFFF
##18366D1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183C6F
Deuteranopia (green-blind)
#01346C
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18366d;
/* rgb */ color: rgb(24, 54, 109);
/* oklch */ color: oklch(34.4% 0.102 261.3);
Tailwind
colors: {
  custom: {
    50: '#626c97',
    500: '#18366d',
    950: '#000000',
  },
}
SCSS
$custom: #18366d;
$custom-light: #626c97;
$custom-dark: #000000;
JSON
{
  "hex": "#18366d",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 218.824,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.10233,
    "h": 261.3
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#18366D
secondary
#A37F3E
accent
#AC41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18366D

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

Preview Lab → · Contrast checker → · Palette generator →

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