#14315D#14315D

#14315D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.086 H 258.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#14315D
RGBrgb(20, 49, 93)
HSLhsl(216, 65%, 22%)
HSVhsv(216, 78%, 36%)
CMYKcmyk(78.5%, 47.3%, 0%, 63.5%)
CIE-LABlab(20.58, 6.47, -29.46)
CIE-LCHlch(20.58, 30.16, 282.38°)
OKLaboklab(31.73% -0.0169 -0.0843)
OKLCHoklch(31.73% 0.086 258.7)
XYZxyz(3.3619, 3.1353, 10.7818)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14315D #5D4014
analogous
#14565D #14315D #1B145D
triadic
#14315D #5D1431 #315D14
tetradic
#14315D #5D1456 #5D4014 #145D1B
square
#14315D #5D1456 #5D4014 #145D1B
split-complementary
#14315D #5D1B14 #565D14
monochromatic
#050D19 #09162B #14315D #1F4C8F #2A66C2

Accessibility & contrast

On white

12.91
#14315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #14315D
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14315D#FFFFFF#000000##FFFFFF
##14315D1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355F
Deuteranopia (green-blind)
#0D2E5C
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #14315d;
/* rgb */ color: rgb(20, 49, 93);
/* oklch */ color: oklch(31.7% 0.086 258.7);
Tailwind
colors: {
  custom: {
    50: '#5d688b',
    500: '#14315d',
    950: '#000000',
  },
}
SCSS
$custom: #14315d;
$custom-light: #5d688b;
$custom-dark: #000000;
JSON
{
  "hex": "#14315d",
  "rgb": {
    "r": 20,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 216.164,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31725,
    "c": 0.08602,
    "h": 258.7
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#14315D
secondary
#957038
accent
#A540E8
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #14315D

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

Preview Lab → · Contrast checker → · Palette generator →

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