#18396E#18396E

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

Color values

HEX#18396E
RGBrgb(24, 57, 110)
HSLhsl(217, 64%, 26%)
HSVhsv(217, 78%, 43%)
CMYKcmyk(78.2%, 48.2%, 0%, 56.9%)
CIE-LABlab(24.47, 8.48, -34.26)
CIE-LCHlch(24.47, 35.29, 283.91°)
OKLaboklab(35.15% -0.0181 -0.0982)
OKLCHoklch(35.15% 0.1 259.5)
XYZxyz(4.6533, 4.2457, 15.3231)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18396E #6E4D18
analogous
#18646E #18396E #22186E
triadic
#18396E #6E1839 #396E18
tetradic
#18396E #6E1864 #6E4D18 #186E22
square
#18396E #6E1864 #6E4D18 #186E22
split-complementary
#18396E #6E2218 #646E18
monochromatic
#050D19 #0D1F3C #18396E #2353A0 #2F6DD2

Accessibility & contrast

On white

11.36
#18396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18396E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18396E#FFFFFF#000000##FFFFFF
##18396E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E70
Deuteranopia (green-blind)
#0A366D
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #18396e;
/* rgb */ color: rgb(24, 57, 110);
/* oklch */ color: oklch(35.1% 0.100 259.5);
Tailwind
colors: {
  custom: {
    50: '#626e98',
    500: '#18396e',
    950: '#000000',
  },
}
SCSS
$custom: #18396e;
$custom-light: #626e98;
$custom-dark: #000000;
JSON
{
  "hex": "#18396e",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 216.977,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35149,
    "c": 0.09987,
    "h": 259.5
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#18396E
secondary
#A47D3E
accent
#A741E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #18396E

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

Preview Lab → · Contrast checker → · Palette generator →

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