#18396C#18396C

#18396C is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.097 H 259.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#18396C
RGBrgb(24, 57, 108)
HSLhsl(216, 64%, 26%)
HSVhsv(216, 78%, 42%)
CMYKcmyk(77.8%, 47.2%, 0%, 57.6%)
CIE-LABlab(24.33, 7.65, -33.20)
CIE-LCHlch(24.33, 34.07, 282.98°)
OKLaboklab(35% -0.0185 -0.0951)
OKLCHoklch(35% 0.097 259)
XYZxyz(4.5456, 4.2027, 14.7561)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18396C #6C4B18
analogous
#18636C #18396C #21186C
triadic
#18396C #6C1839 #396C18
tetradic
#18396C #6C1863 #6C4B18 #186C21
square
#18396C #6C1863 #6C4B18 #186C21
split-complementary
#18396C #6C2118 #636C18
monochromatic
#060D19 #0D1F3A #18396C #23539E #2E6ED0

Accessibility & contrast

On white

11.41
#18396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18396C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18396C#FFFFFF#000000##FFFFFF
##18396C1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18396c;
/* rgb */ color: rgb(24, 57, 108);
/* oklch */ color: oklch(35.0% 0.097 259.0);
Tailwind
colors: {
  custom: {
    50: '#626e96',
    500: '#18396c',
    950: '#000000',
  },
}
SCSS
$custom: #18396c;
$custom-light: #626e96;
$custom-dark: #000000;
JSON
{
  "hex": "#18396c",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 216.429,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34999,
    "c": 0.09688,
    "h": 259
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18396C

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

Preview Lab → · Contrast checker → · Palette generator →

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