#141772#141772

#141772 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.150 H 270.5°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#141772
RGBrgb(20, 23, 114)
HSLhsl(238, 70%, 26%)
HSVhsv(238, 82%, 45%)
CMYKcmyk(82.5%, 79.8%, 0%, 55.3%)
CIE-LABlab(15.36, 33.22, -51.70)
CIE-LCHlch(15.36, 61.46, 302.72°)
OKLaboklab(28.45% 0.0013 -0.1497)
OKLCHoklch(28.45% 0.15 270.5)
XYZxyz(3.6311, 1.9760, 16.1064)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141772 #726F14
analogous
#144672 #141772 #401472
triadic
#141772 #721417 #177214
tetradic
#141772 #721446 #726F14 #147240
square
#141772 #721446 #726F14 #147240
split-complementary
#141772 #724014 #467214
monochromatic
#05051A #0B0C3E #141772 #1D22A6 #272DD9

Accessibility & contrast

On white

15.05
#141772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#141772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141772
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141772#FFFFFF#000000##FFFFFF
##1417721.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #141772;
/* rgb */ color: rgb(20, 23, 114);
/* oklch */ color: oklch(28.4% 0.150 270.5);
Tailwind
colors: {
  custom: {
    50: '#65559c',
    500: '#141772',
    950: '#000000',
  },
}
SCSS
$custom: #141772;
$custom-light: #65559c;
$custom-dark: #000000;
JSON
{
  "hex": "#141772",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 238.085,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28448,
    "c": 0.14974,
    "h": 270.5
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#141772
secondary
#A8A539
accent
#E73BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #141772

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

Preview Lab → · Contrast checker → · Palette generator →

#141772 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva