#142F4B#142F4B

#142F4B is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 29.9% C 0.061 H 251.3°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#142F4B
RGBrgb(20, 47, 75)
HSLhsl(211, 58%, 19%)
HSVhsv(211, 73%, 29%)
CMYKcmyk(73.3%, 37.3%, 0%, 70.6%)
CIE-LABlab(18.75, 0.35, -20.35)
CIE-LCHlch(18.75, 20.35, 271.00°)
OKLaboklab(29.93% -0.0195 -0.0576)
OKLCHoklch(29.93% 0.061 251.3)
XYZxyz(2.5745, 2.6895, 7.0387)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F4B #4B3014
analogous
#144A4B #142F4B #14144B
triadic
#142F4B #4B142F #2F4B14
tetradic
#142F4B #4B144A #4B3014 #144B14
square
#142F4B #4B144A #4B3014 #144B14
split-complementary
#142F4B #4B1414 #4A4B14
monochromatic
#060F18 #07111B #142F4B #214D7B #2E6CAC

Accessibility & contrast

On white

13.65
#142F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142F4B
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F4B#FFFFFF#000000##FFFFFF
##142F4B1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314C
Deuteranopia (green-blind)
#1B2B4A
Tritanopia (blue-blind)
#003639
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142f4b;
/* rgb */ color: rgb(20, 47, 75);
/* oklch */ color: oklch(29.9% 0.061 251.3);
Tailwind
colors: {
  custom: {
    50: '#59677d',
    500: '#142f4b',
    950: '#000000',
  },
}
SCSS
$custom: #142f4b;
$custom-light: #59677d;
$custom-dark: #000000;
JSON
{
  "hex": "#142f4b",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 210.545,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29931,
    "c": 0.06087,
    "h": 251.3
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#142F4B
secondary
#835E38
accent
#9547E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #142F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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