#142980#142980

#142980 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.148 H 266.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#142980
RGBrgb(20, 41, 128)
HSLhsl(228, 73%, 29%)
HSVhsv(228, 84%, 50%)
CMYKcmyk(84.4%, 68%, 0%, 49.8%)
CIE-LABlab(21.18, 26.80, -51.07)
CIE-LCHlch(21.18, 57.67, 297.69°)
OKLaboklab(33.1% -0.0083 -0.1479)
OKLCHoklch(33.1% 0.148 266.8)
XYZxyz(4.9763, 3.2925, 20.7911)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142980 #806B14
analogous
#145F80 #142980 #351480
triadic
#142980 #801429 #298014
tetradic
#142980 #80145F #806B14 #148035
square
#142980 #80145F #806B14 #148035
split-complementary
#142980 #803514 #5F8014
monochromatic
#04081A #0C184B #142980 #1C3AB5 #3052DF

Accessibility & contrast

On white

12.66
#142980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#142980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142980
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142980#FFFFFF#000000##FFFFFF
##1429801.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142980;
/* rgb */ color: rgb(20, 41, 128);
/* oklch */ color: oklch(33.1% 0.148 266.8);
Tailwind
colors: {
  custom: {
    50: '#6762a6',
    500: '#142980',
    950: '#000000',
  },
}
SCSS
$custom: #142980;
$custom-light: #6762a6;
$custom-dark: #000000;
JSON
{
  "hex": "#142980",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 228.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33099,
    "c": 0.14814,
    "h": 266.8
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#142980
secondary
#B59D3B
accent
#CC38F0
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #142980

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

Preview Lab → · Contrast checker → · Palette generator →

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