#141272#141272

#141272 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.154 H 271.1°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#141272
RGBrgb(20, 18, 114)
HSLhsl(241, 73%, 26%)
HSVhsv(241, 84%, 45%)
CMYKcmyk(82.5%, 84.2%, 0%, 55.3%)
CIE-LABlab(14.38, 36.06, -53.33)
CIE-LCHlch(14.38, 64.38, 304.06°)
OKLaboklab(27.76% 0.003 -0.1544)
OKLCHoklch(27.76% 0.154 271.1)
XYZxyz(3.5410, 1.7958, 16.0763)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141272 #707212
analogous
#124072 #141272 #441272
triadic
#141272 #721412 #127214
tetradic
#141272 #721240 #707212 #127244
square
#141272 #721240 #707212 #127244
split-complementary
#141272 #724412 #407212
monochromatic
#05041A #0B0A3D #141272 #1D1AA7 #2723DC

Accessibility & contrast

On white

15.45
#141272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#141272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141272
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141272#FFFFFF#000000##FFFFFF
##1412721.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#001F70
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #141272;
/* rgb */ color: rgb(20, 18, 114);
/* oklch */ color: oklch(27.8% 0.154 271.1);
Tailwind
colors: {
  custom: {
    50: '#66529c',
    500: '#141272',
    950: '#000000',
  },
}
SCSS
$custom: #141272;
$custom-light: #66529c;
$custom-dark: #000000;
JSON
{
  "hex": "#141272",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 241.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27758,
    "c": 0.15441,
    "h": 271.1
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#141272
secondary
#A6A937
accent
#EF38EC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #141272

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

Preview Lab → · Contrast checker → · Palette generator →

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