#141270#141270

#141270 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.152 H 271.3°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#141270
RGBrgb(20, 18, 112)
HSLhsl(241, 72%, 25%)
HSVhsv(241, 84%, 44%)
CMYKcmyk(82.1%, 83.9%, 0%, 56.1%)
CIE-LABlab(14.12, 35.37, -52.46)
CIE-LCHlch(14.12, 63.27, 303.99°)
OKLaboklab(27.51% 0.0034 -0.1519)
OKLCHoklch(27.51% 0.152 271.3)
XYZxyz(3.4284, 1.7508, 15.4833)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141270 #6E7012
analogous
#123F70 #141270 #431270
triadic
#141270 #701412 #127014
tetradic
#141270 #70123F #6E7012 #127043
square
#141270 #70123F #6E7012 #127043
split-complementary
#141270 #704312 #3F7012
monochromatic
#05041A #0B0A3B #141270 #1D1AA5 #2723D9

Accessibility & contrast

On white

15.55
#141270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#141270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141270
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141270#FFFFFF#000000##FFFFFF
##1412701.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#001F6E
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #141270;
/* rgb */ color: rgb(20, 18, 112);
/* oklch */ color: oklch(27.5% 0.152 271.3);
Tailwind
colors: {
  custom: {
    50: '#65529a',
    500: '#141270',
    950: '#000000',
  },
}
SCSS
$custom: #141270;
$custom-light: #65529a;
$custom-dark: #000000;
JSON
{
  "hex": "#141270",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 241.277,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27506,
    "c": 0.15189,
    "h": 271.3
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#141270
secondary
#A5A737
accent
#EF39EB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #141270

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

Preview Lab → · Contrast checker → · Palette generator →

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