#14315F#14315F

#14315F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.089 H 259.3°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#14315F
RGBrgb(20, 49, 95)
HSLhsl(217, 65%, 23%)
HSVhsv(217, 79%, 37%)
CMYKcmyk(78.9%, 48.4%, 0%, 62.7%)
CIE-LABlab(20.72, 7.31, -30.56)
CIE-LCHlch(20.72, 31.42, 283.46°)
OKLaboklab(31.88% -0.0165 -0.0875)
OKLCHoklch(31.88% 0.089 259.3)
XYZxyz(3.4516, 3.1712, 11.2544)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14315F #5F4214
analogous
#14565F #14315F #1D145F
triadic
#14315F #5F1431 #315F14
tetradic
#14315F #5F1456 #5F4214 #145F1D
square
#14315F #5F1456 #5F4214 #145F1D
split-complementary
#14315F #5F1D14 #565F14
monochromatic
#050D19 #09172C #14315F #1F4B92 #2965C4

Accessibility & contrast

On white

12.85
#14315F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#14315F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14315F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14315F#FFFFFF#000000##FFFFFF
##14315F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193661
Deuteranopia (green-blind)
#0A2F5E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #14315f;
/* rgb */ color: rgb(20, 49, 95);
/* oklch */ color: oklch(31.9% 0.089 259.3);
Tailwind
colors: {
  custom: {
    50: '#5d688d',
    500: '#14315f',
    950: '#000000',
  },
}
SCSS
$custom: #14315f;
$custom-light: #5d688d;
$custom-dark: #000000;
JSON
{
  "hex": "#14315f",
  "rgb": {
    "r": 20,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 216.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31877,
    "c": 0.08909,
    "h": 259.3
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#14315F
secondary
#977238
accent
#A740E8
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #14315F

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

Preview Lab → · Contrast checker → · Palette generator →

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