#18366C#18366C

#18366C is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.101 H 261.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#18366C
RGBrgb(24, 54, 108)
HSLhsl(219, 64%, 26%)
HSVhsv(219, 78%, 42%)
CMYKcmyk(77.8%, 50%, 0%, 57.6%)
CIE-LABlab(23.39, 9.78, -34.71)
CIE-LCHlch(23.39, 36.06, 285.74°)
OKLaboklab(34.27% -0.0157 -0.0996)
OKLCHoklch(34.27% 0.101 261.1)
XYZxyz(4.4017, 3.9147, 14.7081)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18366C #6C4E18
analogous
#18606C #18366C #24186C
triadic
#18366C #6C1836 #366C18
tetradic
#18366C #6C1860 #6C4E18 #186C24
square
#18366C #6C1860 #6C4E18 #186C24
split-complementary
#18366C #6C2418 #606C18
monochromatic
#060D19 #0D1D3A #18366C #234F9E #2E68D0

Accessibility & contrast

On white

11.78
#18366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#18366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18366C
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18366C#FFFFFF#000000##FFFFFF
##18366C1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6E
Deuteranopia (green-blind)
#03346B
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18366c;
/* rgb */ color: rgb(24, 54, 108);
/* oklch */ color: oklch(34.3% 0.101 261.1);
Tailwind
colors: {
  custom: {
    50: '#626c96',
    500: '#18366c',
    950: '#000000',
  },
}
SCSS
$custom: #18366c;
$custom-light: #626c96;
$custom-dark: #000000;
JSON
{
  "hex": "#18366c",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 218.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34274,
    "c": 0.10083,
    "h": 261.1
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18366C

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

Preview Lab → · Contrast checker → · Palette generator →

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