#142E51#142E51

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

Color values

HEX#142E51
RGBrgb(20, 46, 81)
HSLhsl(214, 60%, 20%)
HSVhsv(214, 75%, 32%)
CMYKcmyk(75.3%, 43.2%, 0%, 68.2%)
CIE-LABlab(18.79, 3.56, -24.34)
CIE-LCHlch(18.79, 24.60, 278.33°)
OKLaboklab(30.08% -0.0166 -0.0694)
OKLCHoklch(30.08% 0.071 256.6)
XYZxyz(2.7501, 2.6965, 8.1585)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E51 #513714
analogous
#144D51 #142E51 #181451
triadic
#142E51 #51142E #2E5114
tetradic
#142E51 #51144D #513714 #145118
square
#142E51 #51144D #513714 #145118
split-complementary
#142E51 #511814 #4D5114
monochromatic
#060E19 #081220 #142E51 #204A82 #2C66B3

Accessibility & contrast

On white

13.64
#142E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142E51
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E51#FFFFFF#000000##FFFFFF
##142E511.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3152
Deuteranopia (green-blind)
#152B50
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142e51;
/* rgb */ color: rgb(20, 46, 81);
/* oklch */ color: oklch(30.1% 0.071 256.6);
Tailwind
colors: {
  custom: {
    50: '#5a6682',
    500: '#142e51',
    950: '#000000',
  },
}
SCSS
$custom: #142e51;
$custom-light: #5a6682;
$custom-dark: #000000;
JSON
{
  "hex": "#142e51",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 214.426,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30076,
    "c": 0.07131,
    "h": 256.6
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#142E51
secondary
#896638
accent
#A044E4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #142E51

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

Preview Lab → · Contrast checker → · Palette generator →

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