#142281#142281

#142281 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.158 H 268.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#142281
RGBrgb(20, 34, 129)
HSLhsl(232, 73%, 29%)
HSVhsv(232, 84%, 51%)
CMYKcmyk(84.5%, 73.6%, 0%, 49.4%)
CIE-LABlab(19.55, 31.88, -54.39)
CIE-LCHlch(19.55, 63.04, 300.38°)
OKLaboklab(31.94% -0.0051 -0.1576)
OKLCHoklch(31.94% 0.158 268.1)
XYZxyz(4.8216, 2.8772, 21.0659)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142281 #817314
analogous
#145981 #142281 #3D1481
triadic
#142281 #811422 #228114
tetradic
#142281 #811459 #817314 #14813D
square
#142281 #811459 #817314 #14813D
split-complementary
#142281 #813D14 #598114
monochromatic
#04071A #0C144C #142281 #1C30B6 #3047DF

Accessibility & contrast

On white

13.33
#142281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#142281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142281
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142281#FFFFFF#000000##FFFFFF
##1422811.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142281;
/* rgb */ color: rgb(20, 34, 129);
/* oklch */ color: oklch(31.9% 0.158 268.1);
Tailwind
colors: {
  custom: {
    50: '#685da7',
    500: '#142281',
    950: '#000000',
  },
}
SCSS
$custom: #142281;
$custom-light: #685da7;
$custom-dark: #000000;
JSON
{
  "hex": "#142281",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 232.294,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.1577,
    "h": 268.1
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#142281
secondary
#B6A63B
accent
#D838F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #142281

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

Preview Lab → · Contrast checker → · Palette generator →

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