#142481#142481

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

Color values

HEX#142481
RGBrgb(20, 36, 129)
HSLhsl(231, 73%, 29%)
HSVhsv(231, 84%, 51%)
CMYKcmyk(84.5%, 72.1%, 0%, 49.4%)
CIE-LABlab(20.02, 30.57, -53.60)
CIE-LCHlch(20.02, 61.70, 299.70°)
OKLaboklab(32.29% -0.006 -0.1553)
OKLCHoklch(32.29% 0.155 267.8)
XYZxyz(4.8804, 2.9949, 21.0855)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142481 #817114
analogous
#145B81 #142481 #3B1481
triadic
#142481 #811424 #248114
tetradic
#142481 #81145B #817114 #14813B
square
#142481 #81145B #817114 #14813B
split-complementary
#142481 #813B14 #5B8114
monochromatic
#04071A #0C154C #142481 #1C33B6 #304ADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##142481#FFFFFF#000000##FFFFFF
##1424811.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)
#003684
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142481;
/* rgb */ color: rgb(20, 36, 129);
/* oklch */ color: oklch(32.3% 0.155 267.8);
Tailwind
colors: {
  custom: {
    50: '#685fa7',
    500: '#142481',
    950: '#000000',
  },
}
SCSS
$custom: #142481;
$custom-light: #685fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#142481",
  "rgb": {
    "r": 20,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 231.193,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32288,
    "c": 0.15543,
    "h": 267.8
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#142481
secondary
#B6A43B
accent
#D538F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #142481

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

Preview Lab → · Contrast checker → · Palette generator →

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