#141870#141870

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

Color values

HEX#141870
RGBrgb(20, 24, 112)
HSLhsl(237, 70%, 26%)
HSVhsv(237, 82%, 44%)
CMYKcmyk(82.1%, 78.6%, 0%, 56.1%)
CIE-LABlab(15.34, 31.89, -50.45)
CIE-LCHlch(15.34, 59.68, 302.30°)
OKLaboklab(28.36% 0.0013 -0.1461)
OKLCHoklch(28.36% 0.146 270.5)
XYZxyz(3.5388, 1.9714, 15.5201)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141870 #706C14
analogous
#144670 #141870 #3E1470
triadic
#141870 #701418 #187014
tetradic
#141870 #701446 #706C14 #14703E
square
#141870 #701446 #706C14 #14703E
split-complementary
#141870 #703E14 #467014
monochromatic
#05061A #0B0D3C #141870 #1D23A4 #272ED8

Accessibility & contrast

On white

15.06
#141870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#141870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141870
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141870#FFFFFF#000000##FFFFFF
##1418701.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #141870;
/* rgb */ color: rgb(20, 24, 112);
/* oklch */ color: oklch(28.4% 0.146 270.5);
Tailwind
colors: {
  custom: {
    50: '#64569a',
    500: '#141870',
    950: '#000000',
  },
}
SCSS
$custom: #141870;
$custom-light: #64569a;
$custom-dark: #000000;
JSON
{
  "hex": "#141870",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 237.391,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28361,
    "c": 0.1461,
    "h": 270.5
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#141870
secondary
#A6A239
accent
#E53BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #141870

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

Preview Lab → · Contrast checker → · Palette generator →

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