#14227D#14227D

#14227D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.152 H 268.2°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#14227D
RGBrgb(20, 34, 125)
HSLhsl(232, 72%, 28%)
HSVhsv(232, 84%, 49%)
CMYKcmyk(84%, 72.8%, 0%, 51%)
CIE-LABlab(19.11, 30.36, -52.57)
CIE-LCHlch(19.11, 60.70, 300.00°)
OKLaboklab(31.5% -0.0047 -0.1523)
OKLCHoklch(31.5% 0.152 268.2)
XYZxyz(4.5609, 2.7729, 19.6929)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14227D #7D6F14
analogous
#14567D #14227D #3A147D
triadic
#14227D #7D1422 #227D14
tetradic
#14227D #7D1456 #7D6F14 #147D3A
square
#14227D #7D1456 #7D6F14 #147D3A
split-complementary
#14227D #7D3A14 #567D14
monochromatic
#04071A #0C1448 #14227D #1C30B2 #2E45DE

Accessibility & contrast

On white

13.51
#14227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#14227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14227D
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14227D#FFFFFF#000000##FFFFFF
##14227D1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #14227d;
/* rgb */ color: rgb(20, 34, 125);
/* oklch */ color: oklch(31.5% 0.152 268.2);
Tailwind
colors: {
  custom: {
    50: '#675da4',
    500: '#14227d',
    950: '#000000',
  },
}
SCSS
$custom: #14227d;
$custom-light: #675da4;
$custom-dark: #000000;
JSON
{
  "hex": "#14227d",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 232,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31499,
    "c": 0.15239,
    "h": 268.2
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#14227D
secondary
#B2A23A
accent
#D739EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #14227D

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

Preview Lab → · Contrast checker → · Palette generator →

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