#142D76#142D76

#142D76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.129 H 265.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#142D76
RGBrgb(20, 45, 118)
HSLhsl(225, 71%, 27%)
HSVhsv(225, 83%, 46%)
CMYKcmyk(83.1%, 61.9%, 0%, 53.7%)
CIE-LABlab(21.33, 19.91, -44.46)
CIE-LCHlch(21.33, 48.72, 294.13°)
OKLaboklab(32.92% -0.0106 -0.1285)
OKLCHoklch(32.92% 0.129 265.3)
XYZxyz(4.4957, 3.3330, 17.5424)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D76 #765D14
analogous
#145E76 #142D76 #2C1476
triadic
#142D76 #76142D #2D7614
tetradic
#142D76 #76145E #765D14 #14762C
square
#142D76 #76145E #765D14 #14762C
split-complementary
#142D76 #762C14 #5E7614
monochromatic
#040A1A #0B1942 #142D76 #1D41AA #2A57DB

Accessibility & contrast

On white

12.60
#142D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#142D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D76
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D76#FFFFFF#000000##FFFFFF
##142D761.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142d76;
/* rgb */ color: rgb(20, 45, 118);
/* oklch */ color: oklch(32.9% 0.129 265.3);
Tailwind
colors: {
  custom: {
    50: '#64659e',
    500: '#142d76',
    950: '#000000',
  },
}
SCSS
$custom: #142d76;
$custom-light: #64659e;
$custom-dark: #000000;
JSON
{
  "hex": "#142d76",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 224.694,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32922,
    "c": 0.12896,
    "h": 265.3
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#142D76
secondary
#AC8F3A
accent
#C03AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142D76

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

Preview Lab → · Contrast checker → · Palette generator →

#142D76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva