#142F4C#142F4C

#142F4C is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.062 H 252.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#142F4C
RGBrgb(20, 47, 76)
HSLhsl(211, 58%, 19%)
HSVhsv(211, 74%, 30%)
CMYKcmyk(73.7%, 38.2%, 0%, 70.2%)
CIE-LABlab(18.81, 0.77, -20.93)
CIE-LCHlch(18.81, 20.94, 272.10°)
OKLaboklab(30% -0.0192 -0.0593)
OKLCHoklch(30% 0.062 252.1)
XYZxyz(2.6090, 2.7033, 7.2204)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F4C #4C3114
analogous
#144B4C #142F4C #15144C
triadic
#142F4C #4C142F #2F4C14
tetradic
#142F4C #4C144B #4C3114 #144C15
square
#142F4C #4C144B #4C3114 #144C15
split-complementary
#142F4C #4C1514 #4B4C14
monochromatic
#060F18 #07111C #142F4C #214D7C #2E6BAD

Accessibility & contrast

On white

13.63
#142F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142F4C
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F4C#FFFFFF#000000##FFFFFF
##142F4C1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314D
Deuteranopia (green-blind)
#1A2B4B
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142f4c;
/* rgb */ color: rgb(20, 47, 76);
/* oklch */ color: oklch(30.0% 0.062 252.1);
Tailwind
colors: {
  custom: {
    50: '#59677e',
    500: '#142f4c',
    950: '#000000',
  },
}
SCSS
$custom: #142f4c;
$custom-light: #59677e;
$custom-dark: #000000;
JSON
{
  "hex": "#142f4c",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 211.071,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29997,
    "c": 0.06238,
    "h": 252.1
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#142F4C
secondary
#845F38
accent
#9746E2
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #142F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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