#18396B#18396B

#18396B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 34.9% C 0.095 H 258.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#18396B
RGBrgb(24, 57, 107)
HSLhsl(216, 63%, 26%)
HSVhsv(216, 78%, 42%)
CMYKcmyk(77.6%, 46.7%, 0%, 58%)
CIE-LABlab(24.26, 7.24, -32.66)
CIE-LCHlch(24.26, 33.45, 282.50°)
OKLaboklab(34.92% -0.0187 -0.0935)
OKLCHoklch(34.92% 0.095 258.7)
XYZxyz(4.4927, 4.1815, 14.4774)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18396B #6B4A18
analogous
#18626B #18396B #21186B
triadic
#18396B #6B1839 #396B18
tetradic
#18396B #6B1862 #6B4A18 #186B21
square
#18396B #6B1862 #6B4A18 #186B21
split-complementary
#18396B #6B2118 #626B18
monochromatic
#060D19 #0D1E39 #18396B #23549D #2E6ECF

Accessibility & contrast

On white

11.44
#18396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#18396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18396B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18396B#FFFFFF#000000##FFFFFF
##18396B1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6D
Deuteranopia (green-blind)
#10366A
Tritanopia (blue-blind)
#00454C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #18396b;
/* rgb */ color: rgb(24, 57, 107);
/* oklch */ color: oklch(34.9% 0.095 258.7);
Tailwind
colors: {
  custom: {
    50: '#626e96',
    500: '#18396b',
    950: '#000000',
  },
}
SCSS
$custom: #18396b;
$custom-light: #626e96;
$custom-dark: #000000;
JSON
{
  "hex": "#18396b",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 216.145,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34925,
    "c": 0.09538,
    "h": 258.7
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#18396B
secondary
#A17A3E
accent
#A541E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #18396B

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

Preview Lab → · Contrast checker → · Palette generator →

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