#14227F#14227F

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

Color values

HEX#14227F
RGBrgb(20, 34, 127)
HSLhsl(232, 73%, 29%)
HSVhsv(232, 84%, 50%)
CMYKcmyk(84.3%, 73.2%, 0%, 50.2%)
CIE-LABlab(19.33, 31.12, -53.48)
CIE-LCHlch(19.33, 61.88, 300.20°)
OKLaboklab(31.72% -0.0049 -0.155)
OKLCHoklch(31.72% 0.155 268.2)
XYZxyz(4.6900, 2.8245, 20.3726)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14227F #7F7114
analogous
#14587F #14227F #3C147F
triadic
#14227F #7F1422 #227F14
tetradic
#14227F #7F1458 #7F7114 #147F3C
square
#14227F #7F1458 #7F7114 #147F3C
split-complementary
#14227F #7F3C14 #587F14
monochromatic
#04071A #0C144A #14227F #1C30B4 #2F46DE

Accessibility & contrast

On white

13.42
#14227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#14227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14227F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14227F#FFFFFF#000000##FFFFFF
##14227F1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #14227f;
/* rgb */ color: rgb(20, 34, 127);
/* oklch */ color: oklch(31.7% 0.155 268.2);
Tailwind
colors: {
  custom: {
    50: '#685da5',
    500: '#14227f',
    950: '#000000',
  },
}
SCSS
$custom: #14227f;
$custom-light: #685da5;
$custom-dark: #000000;
JSON
{
  "hex": "#14227f",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 232.15,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3172,
    "c": 0.15506,
    "h": 268.2
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#14227F
secondary
#B4A43B
accent
#D838EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #14227F

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

Preview Lab → · Contrast checker → · Palette generator →

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