#14227E#14227E

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

Color values

HEX#14227E
RGBrgb(20, 34, 126)
HSLhsl(232, 73%, 29%)
HSVhsv(232, 84%, 49%)
CMYKcmyk(84.1%, 73%, 0%, 50.6%)
CIE-LABlab(19.22, 30.74, -53.03)
CIE-LCHlch(19.22, 61.29, 300.10°)
OKLaboklab(31.61% -0.0048 -0.1536)
OKLCHoklch(31.61% 0.154 268.2)
XYZxyz(4.6251, 2.7986, 20.0310)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14227E #7E7014
analogous
#14577E #14227E #3B147E
triadic
#14227E #7E1422 #227E14
tetradic
#14227E #7E1457 #7E7014 #147E3B
square
#14227E #7E1457 #7E7014 #147E3B
split-complementary
#14227E #7E3B14 #577E14
monochromatic
#04071A #0C1449 #14227E #1C30B3 #2E46DE

Accessibility & contrast

On white

13.46
#14227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#14227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14227E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14227E#FFFFFF#000000##FFFFFF
##14227E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #14227e;
/* rgb */ color: rgb(20, 34, 126);
/* oklch */ color: oklch(31.6% 0.154 268.2);
Tailwind
colors: {
  custom: {
    50: '#675da4',
    500: '#14227e',
    950: '#000000',
  },
}
SCSS
$custom: #14227e;
$custom-light: #675da4;
$custom-dark: #000000;
JSON
{
  "hex": "#14227e",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 232.075,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3161,
    "c": 0.15372,
    "h": 268.2
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#14227E
secondary
#B3A33A
accent
#D738EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #14227E

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

Preview Lab → · Contrast checker → · Palette generator →

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