#18396D#18396D

#18396D is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.098 H 259.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#18396D
RGBrgb(24, 57, 109)
HSLhsl(217, 64%, 26%)
HSVhsv(217, 78%, 43%)
CMYKcmyk(78%, 47.7%, 0%, 57.3%)
CIE-LABlab(24.40, 8.07, -33.73)
CIE-LCHlch(24.40, 34.68, 283.45°)
OKLaboklab(35.07% -0.0184 -0.0966)
OKLCHoklch(35.07% 0.098 259.2)
XYZxyz(4.5991, 4.2241, 15.0380)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18396D #6D4C18
analogous
#18636D #18396D #21186D
triadic
#18396D #6D1839 #396D18
tetradic
#18396D #6D1863 #6D4C18 #186D21
square
#18396D #6D1863 #6D4C18 #186D21
split-complementary
#18396D #6D2118 #636D18
monochromatic
#060D19 #0D1F3B #18396D #23539F #2E6ED1

Accessibility & contrast

On white

11.38
#18396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#18396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18396D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18396D#FFFFFF#000000##FFFFFF
##18396D1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6F
Deuteranopia (green-blind)
#0C366C
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #18396d;
/* rgb */ color: rgb(24, 57, 109);
/* oklch */ color: oklch(35.1% 0.098 259.2);
Tailwind
colors: {
  custom: {
    50: '#626e97',
    500: '#18396d',
    950: '#000000',
  },
}
SCSS
$custom: #18396d;
$custom-light: #626e97;
$custom-dark: #000000;
JSON
{
  "hex": "#18396d",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 216.706,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35074,
    "c": 0.09838,
    "h": 259.2
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#18396D
secondary
#A37C3E
accent
#A641E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #18396D

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

Preview Lab → · Contrast checker → · Palette generator →

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