#142E52#142E52

#142E52 is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.1% C 0.073 H 257.1°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#142E52
RGBrgb(20, 46, 82)
HSLhsl(215, 61%, 20%)
HSVhsv(215, 76%, 32%)
CMYKcmyk(75.6%, 43.9%, 0%, 67.8%)
CIE-LABlab(18.85, 3.98, -24.91)
CIE-LCHlch(18.85, 25.23, 279.09°)
OKLaboklab(30.15% -0.0163 -0.071)
OKLCHoklch(30.15% 0.073 257.1)
XYZxyz(2.7879, 2.7116, 8.3575)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E52 #523814
analogous
#144D52 #142E52 #191452
triadic
#142E52 #52142E #2E5214
tetradic
#142E52 #52144D #523814 #145219
square
#142E52 #52144D #523814 #145219
split-complementary
#142E52 #521914 #4D5214
monochromatic
#060E19 #081221 #142E52 #204A83 #2C65B4

Accessibility & contrast

On white

13.62
#142E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#142E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E52
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E52#FFFFFF#000000##FFFFFF
##142E521.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3153
Deuteranopia (green-blind)
#142B51
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142e52;
/* rgb */ color: rgb(20, 46, 82);
/* oklch */ color: oklch(30.1% 0.073 257.1);
Tailwind
colors: {
  custom: {
    50: '#5a6683',
    500: '#142e52',
    950: '#000000',
  },
}
SCSS
$custom: #142e52;
$custom-light: #5a6683;
$custom-dark: #000000;
JSON
{
  "hex": "#142e52",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 214.839,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30147,
    "c": 0.07287,
    "h": 257.1
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#142E52
secondary
#8A6838
accent
#A144E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #142E52

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

Preview Lab → · Contrast checker → · Palette generator →

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