#142F4F#142F4F

#142F4F is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.2% C 0.067 H 254.2°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#142F4F
RGBrgb(20, 47, 79)
HSLhsl(213, 60%, 19%)
HSVhsv(213, 75%, 31%)
CMYKcmyk(74.7%, 40.5%, 0%, 69%)
CIE-LABlab(19.00, 2.01, -22.66)
CIE-LCHlch(19.00, 22.75, 275.07°)
OKLaboklab(30.2% -0.0183 -0.0644)
OKLCHoklch(30.2% 0.067 254.2)
XYZxyz(2.7158, 2.7460, 7.7825)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F4F #4F3414
analogous
#144D4F #142F4F #16144F
triadic
#142F4F #4F142F #2F4F14
tetradic
#142F4F #4F144D #4F3414 #144F16
square
#142F4F #4F144D #4F3414 #144F16
split-complementary
#142F4F #4F1614 #4D4F14
monochromatic
#060F18 #08121E #142F4F #204C80 #2D69B1

Accessibility & contrast

On white

13.56
#142F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F4F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F4F#FFFFFF#000000##FFFFFF
##142F4F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213150
Deuteranopia (green-blind)
#182C4E
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142f4f;
/* rgb */ color: rgb(20, 47, 79);
/* oklch */ color: oklch(30.2% 0.067 254.2);
Tailwind
colors: {
  custom: {
    50: '#5a6780',
    500: '#142f4f',
    950: '#000000',
  },
}
SCSS
$custom: #142f4f;
$custom-light: #5a6780;
$custom-dark: #000000;
JSON
{
  "hex": "#142f4f",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 212.542,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.302,
    "c": 0.06696,
    "h": 254.2
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#142F4F
secondary
#876338
accent
#9B45E3
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #142F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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