#142770#142770

#142770 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.128 H 267.0°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#142770
RGBrgb(20, 39, 112)
HSLhsl(228, 70%, 26%)
HSVhsv(228, 82%, 44%)
CMYKcmyk(82.1%, 65.2%, 0%, 56.1%)
CIE-LABlab(19.09, 21.74, -44.26)
CIE-LCHlch(19.09, 49.31, 296.16°)
OKLaboklab(31.09% -0.0066 -0.128)
OKLCHoklch(31.09% 0.128 267)
XYZxyz(3.9376, 2.7692, 15.6531)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142770 #705D14
analogous
#145570 #142770 #2F1470
triadic
#142770 #701427 #277014
tetradic
#142770 #701455 #705D14 #14702F
square
#142770 #701455 #705D14 #14702F
split-complementary
#142770 #702F14 #557014
monochromatic
#05091A #0B153C #142770 #1D39A4 #274BD8

Accessibility & contrast

On white

13.51
#142770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142770
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142770#FFFFFF#000000##FFFFFF
##1427701.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142770;
/* rgb */ color: rgb(20, 39, 112);
/* oklch */ color: oklch(31.1% 0.128 267.0);
Tailwind
colors: {
  custom: {
    50: '#63609a',
    500: '#142770',
    950: '#000000',
  },
}
SCSS
$custom: #142770;
$custom-light: #63609a;
$custom-dark: #000000;
JSON
{
  "hex": "#142770",
  "rgb": {
    "r": 20,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 227.609,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31089,
    "c": 0.12819,
    "h": 267
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#142770
secondary
#A69039
accent
#C83BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142770

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

Preview Lab → · Contrast checker → · Palette generator →

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