#142E66#142E66

#142E66 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.104 H 263.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#142E66
RGBrgb(20, 46, 102)
HSLhsl(221, 67%, 24%)
HSVhsv(221, 80%, 40%)
CMYKcmyk(80.4%, 54.9%, 0%, 60%)
CIE-LABlab(20.29, 12.47, -35.83)
CIE-LCHlch(20.29, 37.94, 289.19°)
OKLaboklab(31.72% -0.0125 -0.1031)
OKLCHoklch(31.72% 0.104 263.1)
XYZxyz(3.6629, 3.0616, 12.9657)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E66 #664C14
analogous
#145766 #142E66 #231466
triadic
#142E66 #66142E #2E6614
tetradic
#142E66 #661457 #664C14 #146623
square
#142E66 #661457 #664C14 #146623
split-complementary
#142E66 #662314 #576614
monochromatic
#050C1A #0A1733 #142E66 #1E4599 #285CCC

Accessibility & contrast

On white

13.02
#142E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E66
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E66#FFFFFF#000000##FFFFFF
##142E661.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093568
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142e66;
/* rgb */ color: rgb(20, 46, 102);
/* oklch */ color: oklch(31.7% 0.104 263.1);
Tailwind
colors: {
  custom: {
    50: '#5f6692',
    500: '#142e66',
    950: '#000000',
  },
}
SCSS
$custom: #142e66;
$custom-light: #5f6692;
$custom-dark: #000000;
JSON
{
  "hex": "#142e66",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 220.976,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31716,
    "c": 0.10389,
    "h": 263.1
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#142E66
secondary
#9D7D39
accent
#B33EEA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #142E66

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

Preview Lab → · Contrast checker → · Palette generator →

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