#142581#142581

#142581 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.154 H 267.6°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#142581
RGBrgb(20, 37, 129)
HSLhsl(231, 73%, 29%)
HSVhsv(231, 84%, 51%)
CMYKcmyk(84.5%, 71.3%, 0%, 49.4%)
CIE-LABlab(20.27, 29.90, -53.20)
CIE-LCHlch(20.27, 61.03, 299.34°)
OKLaboklab(32.46% -0.0064 -0.1541)
OKLCHoklch(32.46% 0.154 267.6)
XYZxyz(4.9111, 3.0563, 21.0957)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142581 #817014
analogous
#145C81 #142581 #3A1481
triadic
#142581 #811425 #258114
tetradic
#142581 #81145C #817014 #14813A
square
#142581 #81145C #817014 #14813A
split-complementary
#142581 #813A14 #5C8114
monochromatic
#04081A #0C164C #142581 #1C34B6 #304CDF

Accessibility & contrast

On white

13.03
#142581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142581
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142581#FFFFFF#000000##FFFFFF
##1425811.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142581;
/* rgb */ color: rgb(20, 37, 129);
/* oklch */ color: oklch(32.5% 0.154 267.6);
Tailwind
colors: {
  custom: {
    50: '#685fa7',
    500: '#142581',
    950: '#000000',
  },
}
SCSS
$custom: #142581;
$custom-light: #685fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#142581",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 129
  },
  "hsl": {
    "h": 230.642,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32465,
    "c": 0.15428,
    "h": 267.6
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#142581
secondary
#B6A33B
accent
#D338F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #142581

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

Preview Lab → · Contrast checker → · Palette generator →

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