#142676#142676

#142676 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.138 H 267.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#142676
RGBrgb(20, 38, 118)
HSLhsl(229, 71%, 27%)
HSVhsv(229, 83%, 46%)
CMYKcmyk(83.1%, 67.8%, 0%, 53.7%)
CIE-LABlab(19.40, 24.88, -47.62)
CIE-LCHlch(19.40, 53.73, 297.59°)
OKLaboklab(31.49% -0.0062 -0.1379)
OKLCHoklch(31.49% 0.138 267.4)
XYZxyz(4.2505, 2.8425, 17.4607)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142676 #766414
analogous
#145776 #142676 #331476
triadic
#142676 #761426 #267614
tetradic
#142676 #761457 #766414 #147633
square
#142676 #761457 #766414 #147633
split-complementary
#142676 #763314 #577614
monochromatic
#04081A #0B1542 #142676 #1D37AA #2A4ADB

Accessibility & contrast

On white

13.39
#142676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#142676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142676
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142676#FFFFFF#000000##FFFFFF
##1426761.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142676;
/* rgb */ color: rgb(20, 38, 118);
/* oklch */ color: oklch(31.5% 0.138 267.4);
Tailwind
colors: {
  custom: {
    50: '#65609e',
    500: '#142676',
    950: '#000000',
  },
}
SCSS
$custom: #142676;
$custom-light: #65609e;
$custom-dark: #000000;
JSON
{
  "hex": "#142676",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 228.98,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31493,
    "c": 0.138,
    "h": 267.4
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#142676
secondary
#AC973A
accent
#CD3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142676

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

Preview Lab → · Contrast checker → · Palette generator →

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