#142776#142776

#142776 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.137 H 267.2°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#142776
RGBrgb(20, 39, 118)
HSLhsl(228, 71%, 27%)
HSVhsv(228, 83%, 46%)
CMYKcmyk(83.1%, 66.9%, 0%, 53.7%)
CIE-LABlab(19.67, 24.18, -47.18)
CIE-LCHlch(19.67, 53.02, 297.13°)
OKLaboklab(31.69% -0.0068 -0.1366)
OKLCHoklch(31.69% 0.137 267.2)
XYZxyz(4.2829, 2.9073, 17.4715)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142776 #766314
analogous
#145876 #142776 #321476
triadic
#142776 #761427 #277614
tetradic
#142776 #761458 #766314 #147632
square
#142776 #761458 #766314 #147632
split-complementary
#142776 #763214 #587614
monochromatic
#04091A #0B1642 #142776 #1D38AA #2A4CDB

Accessibility & contrast

On white

13.28
#142776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142776
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142776#FFFFFF#000000##FFFFFF
##1427761.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142776;
/* rgb */ color: rgb(20, 39, 118);
/* oklch */ color: oklch(31.7% 0.137 267.2);
Tailwind
colors: {
  custom: {
    50: '#64619e',
    500: '#142776',
    950: '#000000',
  },
}
SCSS
$custom: #142776;
$custom-light: #64619e;
$custom-dark: #000000;
JSON
{
  "hex": "#142776",
  "rgb": {
    "r": 20,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 228.367,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31689,
    "c": 0.13674,
    "h": 267.2
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#142776
secondary
#AC963A
accent
#CB3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142776

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

Preview Lab → · Contrast checker → · Palette generator →

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