#142976#142976

#142976 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.134 H 266.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#142976
RGBrgb(20, 41, 118)
HSLhsl(227, 71%, 27%)
HSVhsv(227, 83%, 46%)
CMYKcmyk(83.1%, 65.3%, 0%, 53.7%)
CIE-LABlab(20.21, 22.77, -46.29)
CIE-LCHlch(20.21, 51.59, 296.19°)
OKLaboklab(32.09% -0.008 -0.134)
OKLCHoklch(32.09% 0.134 266.6)
XYZxyz(4.3503, 3.0421, 17.4939)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142976 #766114
analogous
#145A76 #142976 #301476
triadic
#142976 #761429 #297614
tetradic
#142976 #76145A #766114 #147630
square
#142976 #76145A #766114 #147630
split-complementary
#142976 #763014 #5A7614
monochromatic
#04091A #0B1742 #142976 #1D3BAA #2A50DB

Accessibility & contrast

On white

13.05
#142976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##142976#FFFFFF#000000##FFFFFF
##1429761.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)
#003578
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142976;
/* rgb */ color: rgb(20, 41, 118);
/* oklch */ color: oklch(32.1% 0.134 266.6);
Tailwind
colors: {
  custom: {
    50: '#64629e',
    500: '#142976',
    950: '#000000',
  },
}
SCSS
$custom: #142976;
$custom-light: #64629e;
$custom-dark: #000000;
JSON
{
  "hex": "#142976",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 227.143,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3209,
    "c": 0.13419,
    "h": 266.6
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#142976
secondary
#AC943A
accent
#C73AEE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142976

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

Preview Lab → · Contrast checker → · Palette generator →

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