#141273#141273

#141273 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.156 H 271.0°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#141273
RGBrgb(20, 18, 115)
HSLhsl(241, 73%, 26%)
HSVhsv(241, 84%, 45%)
CMYKcmyk(82.6%, 84.3%, 0%, 54.9%)
CIE-LABlab(14.51, 36.40, -53.77)
CIE-LCHlch(14.51, 64.93, 304.10°)
OKLaboklab(27.89% 0.0027 -0.1556)
OKLCHoklch(27.89% 0.156 271)
XYZxyz(3.5983, 1.8187, 16.3777)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141273 #717312
analogous
#124073 #141273 #441273
triadic
#141273 #731412 #127314
tetradic
#141273 #731240 #717312 #127344
square
#141273 #731240 #717312 #127344
split-complementary
#141273 #734412 #407312
monochromatic
#05041A #0B0A3E #141273 #1D1AA8 #2723DD

Accessibility & contrast

On white

15.40
#141273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141273
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141273#FFFFFF#000000##FFFFFF
##1412731.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002976
Deuteranopia (green-blind)
#002071
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #141273;
/* rgb */ color: rgb(20, 18, 115);
/* oklch */ color: oklch(27.9% 0.156 271.0);
Tailwind
colors: {
  custom: {
    50: '#66539c',
    500: '#141273',
    950: '#000000',
  },
}
SCSS
$custom: #141273;
$custom-light: #66539c;
$custom-dark: #000000;
JSON
{
  "hex": "#141273",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 241.237,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27885,
    "c": 0.15566,
    "h": 271
  },
  "luminance": 0.01819
}

Semantic roles & 50–950 ramp

primary
#141273
secondary
#A7AA37
accent
#F038EC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #141273

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

Preview Lab → · Contrast checker → · Palette generator →

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