#142974#142974

#142974 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.131 H 266.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#142974
RGBrgb(20, 41, 116)
HSLhsl(227, 71%, 27%)
HSVhsv(227, 83%, 45%)
CMYKcmyk(82.8%, 64.7%, 0%, 54.5%)
CIE-LABlab(20.02, 21.95, -45.32)
CIE-LCHlch(20.02, 50.35, 295.84°)
OKLaboklab(31.89% -0.0079 -0.1311)
OKLCHoklch(31.89% 0.131 266.5)
XYZxyz(4.2327, 2.9951, 16.8746)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142974 #745F14
analogous
#145974 #142974 #2F1474
triadic
#142974 #741429 #297414
tetradic
#142974 #741459 #745F14 #14742F
square
#142974 #741459 #745F14 #14742F
split-complementary
#142974 #742F14 #597414
monochromatic
#05091A #0B1740 #142974 #1D3BA8 #284FDA

Accessibility & contrast

On white

13.13
#142974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#142974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142974
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142974#FFFFFF#000000##FFFFFF
##1429741.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142974;
/* rgb */ color: rgb(20, 41, 116);
/* oklch */ color: oklch(31.9% 0.131 266.5);
Tailwind
colors: {
  custom: {
    50: '#64629d',
    500: '#142974',
    950: '#000000',
  },
}
SCSS
$custom: #142974;
$custom-light: #64629d;
$custom-dark: #000000;
JSON
{
  "hex": "#142974",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 226.875,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31893,
    "c": 0.13133,
    "h": 266.5
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#142974
secondary
#AA923A
accent
#C63AED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142974

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

Preview Lab → · Contrast checker → · Palette generator →

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