#14177B#14177B

#14177B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.161 H 269.9°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#14177B
RGBrgb(20, 23, 123)
HSLhsl(238, 72%, 28%)
HSVhsv(238, 84%, 48%)
CMYKcmyk(83.7%, 81.3%, 0%, 51.8%)
CIE-LABlab(16.46, 36.42, -55.68)
CIE-LCHlch(16.46, 66.53, 303.19°)
OKLaboklab(29.54% -0.0004 -0.1613)
OKLCHoklch(29.54% 0.161 269.9)
XYZxyz(4.1688, 2.1911, 18.9383)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14177B #7B7814
analogous
#144B7B #14177B #44147B
triadic
#14177B #7B1417 #177B14
tetradic
#14177B #7B144B #7B7814 #147B44
square
#14177B #7B144B #7B7814 #147B44
split-complementary
#14177B #7B4414 #4B7B14
monochromatic
#04051A #0B0D46 #14177B #1D21B0 #2D32DD

Accessibility & contrast

On white

14.60
#14177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#14177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14177B
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14177B#FFFFFF#000000##FFFFFF
##14177B1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #14177b;
/* rgb */ color: rgb(20, 23, 123);
/* oklch */ color: oklch(29.5% 0.161 269.9);
Tailwind
colors: {
  custom: {
    50: '#6856a2',
    500: '#14177b',
    950: '#000000',
  },
}
SCSS
$custom: #14177b;
$custom-light: #6856a2;
$custom-dark: #000000;
JSON
{
  "hex": "#14177b",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 238.252,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29542,
    "c": 0.16126,
    "h": 269.9
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#14177B
secondary
#B1AD3A
accent
#E939EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #14177B

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

Preview Lab → · Contrast checker → · Palette generator →

#14177B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva