#142959#142959

#142959 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.091 H 263.9°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#142959
RGBrgb(20, 41, 89)
HSLhsl(222, 63%, 21%)
HSVhsv(222, 78%, 35%)
CMYKcmyk(77.5%, 53.9%, 0%, 65.1%)
CIE-LABlab(17.72, 10.62, -31.41)
CIE-LCHlch(17.72, 33.16, 288.68°)
OKLaboklab(29.44% -0.0096 -0.0902)
OKLCHoklch(29.44% 0.091 263.9)
XYZxyz(2.8840, 2.4556, 9.7712)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142959 #594414
analogous
#144C59 #142959 #221459
triadic
#142959 #591429 #295914
tetradic
#142959 #59144C #594414 #145922
square
#142959 #59144C #594414 #145922
split-complementary
#142959 #592214 #4C5914
monochromatic
#060C19 #091227 #142959 #1F408B #2A57BD

Accessibility & contrast

On white

14.08
#142959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#142959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142959
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142959#FFFFFF#000000##FFFFFF
##1429591.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2F5B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142959;
/* rgb */ color: rgb(20, 41, 89);
/* oklch */ color: oklch(29.4% 0.091 263.9);
Tailwind
colors: {
  custom: {
    50: '#5c6288',
    500: '#142959',
    950: '#000000',
  },
}
SCSS
$custom: #142959;
$custom-light: #5c6288;
$custom-dark: #000000;
JSON
{
  "hex": "#142959",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 221.739,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29435,
    "c": 0.09073,
    "h": 263.9
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#142959
secondary
#917638
accent
#B441E6
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #142959

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

Preview Lab → · Contrast checker → · Palette generator →

#142959 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva