#18386F#18386F

#18386F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.103 H 260.5°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#18386F
RGBrgb(24, 56, 111)
HSLhsl(218, 64%, 26%)
HSVhsv(218, 78%, 44%)
CMYKcmyk(78.4%, 49.5%, 0%, 56.5%)
CIE-LABlab(24.22, 9.61, -35.29)
CIE-LCHlch(24.22, 36.57, 285.23°)
OKLaboklab(34.99% -0.017 -0.1013)
OKLCHoklch(34.99% 0.103 260.5)
XYZxyz(4.6591, 4.1697, 15.5951)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18386F #6F4F18
analogous
#18646F #18386F #24186F
triadic
#18386F #6F1838 #386F18
tetradic
#18386F #6F1864 #6F4F18 #186F24
square
#18386F #6F1864 #6F4F18 #186F24
split-complementary
#18386F #6F2418 #646F18
monochromatic
#050D19 #0D1F3D #18386F #2351A1 #2F6BD2

Accessibility & contrast

On white

11.45
#18386F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#18386F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18386F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18386F#FFFFFF#000000##FFFFFF
##18386F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#04366E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #18386f;
/* rgb */ color: rgb(24, 56, 111);
/* oklch */ color: oklch(35.0% 0.103 260.5);
Tailwind
colors: {
  custom: {
    50: '#636e99',
    500: '#18386f',
    950: '#000000',
  },
}
SCSS
$custom: #18386f;
$custom-light: #636e99;
$custom-dark: #000000;
JSON
{
  "hex": "#18386f",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 217.931,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34985,
    "c": 0.10269,
    "h": 260.5
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#18386F
secondary
#A57F3E
accent
#AA40E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #18386F

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

Preview Lab → · Contrast checker → · Palette generator →

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