#142570#142570

#142570 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.131 H 267.7°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#142570
RGBrgb(20, 37, 112)
HSLhsl(229, 70%, 26%)
HSVhsv(229, 82%, 44%)
CMYKcmyk(82.1%, 67%, 0%, 56.1%)
CIE-LABlab(18.55, 23.16, -45.16)
CIE-LCHlch(18.55, 50.76, 297.15°)
OKLaboklab(30.68% -0.0053 -0.1307)
OKLCHoklch(30.68% 0.131 267.7)
XYZxyz(3.8737, 2.6413, 15.6318)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142570 #705F14
analogous
#145370 #142570 #311470
triadic
#142570 #701425 #257014
tetradic
#142570 #701453 #705F14 #147031
square
#142570 #701453 #705F14 #147031
split-complementary
#142570 #703114 #537014
monochromatic
#05091A #0B143C #142570 #1D36A4 #2747D8

Accessibility & contrast

On white

13.74
#142570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142570
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142570#FFFFFF#000000##FFFFFF
##1425701.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142570;
/* rgb */ color: rgb(20, 37, 112);
/* oklch */ color: oklch(30.7% 0.131 267.7);
Tailwind
colors: {
  custom: {
    50: '#635f9a',
    500: '#142570',
    950: '#000000',
  },
}
SCSS
$custom: #142570;
$custom-light: #635f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#142570",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 112
  },
  "hsl": {
    "h": 228.913,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30683,
    "c": 0.13079,
    "h": 267.7
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#142570
secondary
#A69239
accent
#CC3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142570

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

Preview Lab → · Contrast checker → · Palette generator →

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