#142A76#142A76

#142A76 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.133 H 266.3°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#142A76
RGBrgb(20, 42, 118)
HSLhsl(227, 71%, 27%)
HSVhsv(227, 83%, 46%)
CMYKcmyk(83.1%, 64.4%, 0%, 53.7%)
CIE-LABlab(20.49, 22.06, -45.84)
CIE-LCHlch(20.49, 50.87, 295.70°)
OKLaboklab(32.29% -0.0086 -0.1326)
OKLCHoklch(32.29% 0.133 266.3)
XYZxyz(4.3853, 3.1121, 17.5056)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A76 #766014
analogous
#145B76 #142A76 #2F1476
triadic
#142A76 #76142A #2A7614
tetradic
#142A76 #76145B #766014 #14762F
square
#142A76 #76145B #766014 #14762F
split-complementary
#142A76 #762F14 #5B7614
monochromatic
#04091A #0B1742 #142A76 #1D3DAA #2A51DB

Accessibility & contrast

On white

12.94
#142A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#142A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A76
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A76#FFFFFF#000000##FFFFFF
##142A761.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142a76;
/* rgb */ color: rgb(20, 42, 118);
/* oklch */ color: oklch(32.3% 0.133 266.3);
Tailwind
colors: {
  custom: {
    50: '#64639e',
    500: '#142a76',
    950: '#000000',
  },
}
SCSS
$custom: #142a76;
$custom-light: #64639e;
$custom-dark: #000000;
JSON
{
  "hex": "#142a76",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 226.531,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32294,
    "c": 0.13289,
    "h": 266.3
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#142A76
secondary
#AC923A
accent
#C53AEE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142A76

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

Preview Lab → · Contrast checker → · Palette generator →

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