#142E4B#142E4B

#142E4B is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.7% C 0.062 H 252.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#142E4B
RGBrgb(20, 46, 75)
HSLhsl(212, 58%, 19%)
HSVhsv(212, 73%, 29%)
CMYKcmyk(73.3%, 38.7%, 0%, 70.6%)
CIE-LABlab(18.41, 1.06, -20.89)
CIE-LCHlch(18.41, 20.91, 272.92°)
OKLaboklab(29.66% -0.0183 -0.0592)
OKLCHoklch(29.66% 0.062 252.8)
XYZxyz(2.5350, 2.6105, 7.0255)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E4B #4B3114
analogous
#14494B #142E4B #15144B
triadic
#142E4B #4B142E #2E4B14
tetradic
#142E4B #4B1449 #4B3114 #144B15
square
#142E4B #4B1449 #4B3114 #144B15
split-complementary
#142E4B #4B1514 #494B14
monochromatic
#060F18 #07101B #142E4B #214C7B #2E69AC

Accessibility & contrast

On white

13.80
#142E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E4B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E4B#FFFFFF#000000##FFFFFF
##142E4B1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21304C
Deuteranopia (green-blind)
#1A2B4A
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142e4b;
/* rgb */ color: rgb(20, 46, 75);
/* oklch */ color: oklch(29.7% 0.062 252.8);
Tailwind
colors: {
  custom: {
    50: '#59667d',
    500: '#142e4b',
    950: '#000000',
  },
}
SCSS
$custom: #142e4b;
$custom-light: #59667d;
$custom-dark: #000000;
JSON
{
  "hex": "#142e4b",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 75
  },
  "hsl": {
    "h": 211.636,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29662,
    "c": 0.06202,
    "h": 252.8
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#142E4B
secondary
#835F38
accent
#9847E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #142E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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