#18396F#18396F

#18396F is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.2% C 0.101 H 259.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#18396F
RGBrgb(24, 57, 111)
HSLhsl(217, 64%, 26%)
HSVhsv(217, 78%, 44%)
CMYKcmyk(78.4%, 48.6%, 0%, 56.5%)
CIE-LABlab(24.54, 8.90, -34.79)
CIE-LCHlch(24.54, 35.91, 284.35°)
OKLaboklab(35.23% -0.018 -0.0998)
OKLCHoklch(35.23% 0.101 259.8)
XYZxyz(4.7080, 4.2676, 15.6114)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18396F #6F4E18
analogous
#18656F #18396F #23186F
triadic
#18396F #6F1839 #396F18
tetradic
#18396F #6F1865 #6F4E18 #186F23
square
#18396F #6F1865 #6F4E18 #186F23
split-complementary
#18396F #6F2318 #656F18
monochromatic
#050D19 #0D1F3D #18396F #2353A1 #2F6DD2

Accessibility & contrast

On white

11.33
#18396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18396F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18396F#FFFFFF#000000##FFFFFF
##18396F1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F71
Deuteranopia (green-blind)
#08376E
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #18396f;
/* rgb */ color: rgb(24, 57, 111);
/* oklch */ color: oklch(35.2% 0.101 259.8);
Tailwind
colors: {
  custom: {
    50: '#636e99',
    500: '#18396f',
    950: '#000000',
  },
}
SCSS
$custom: #18396f;
$custom-light: #636e99;
$custom-dark: #000000;
JSON
{
  "hex": "#18396f",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 217.241,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35225,
    "c": 0.10137,
    "h": 259.8
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#18396F
secondary
#A57E3E
accent
#A840E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #18396F

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

Preview Lab → · Contrast checker → · Palette generator →

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