#142B70#142B70

#142B70 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.123 H 265.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#142B70
RGBrgb(20, 43, 112)
HSLhsl(225, 70%, 26%)
HSVhsv(225, 82%, 44%)
CMYKcmyk(82.1%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.23, 18.86, -42.41)
CIE-LCHlch(20.23, 46.42, 293.98°)
OKLaboklab(31.93% -0.0094 -0.1225)
OKLCHoklch(31.93% 0.123 265.6)
XYZxyz(4.0760, 3.0459, 15.6992)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B70 #705914
analogous
#145970 #142B70 #2B1470
triadic
#142B70 #70142B #2B7014
tetradic
#142B70 #701459 #705914 #14702B
square
#142B70 #701459 #705914 #14702B
split-complementary
#142B70 #702B14 #597014
monochromatic
#050A1A #0B173C #142B70 #1D3FA4 #2753D8

Accessibility & contrast

On white

13.05
#142B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B70
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B70#FFFFFF#000000##FFFFFF
##142B701.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142b70;
/* rgb */ color: rgb(20, 43, 112);
/* oklch */ color: oklch(31.9% 0.123 265.6);
Tailwind
colors: {
  custom: {
    50: '#62639a',
    500: '#142b70',
    950: '#000000',
  },
}
SCSS
$custom: #142b70;
$custom-light: #62639a;
$custom-dark: #000000;
JSON
{
  "hex": "#142b70",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 225,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.1229,
    "h": 265.6
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#142B70
secondary
#A68B39
accent
#C03BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142B70

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

Preview Lab → · Contrast checker → · Palette generator →

#142B70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva