#142958#142958

#142958 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.089 H 263.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#142958
RGBrgb(20, 41, 88)
HSLhsl(221, 63%, 21%)
HSVhsv(221, 77%, 35%)
CMYKcmyk(77.3%, 53.4%, 0%, 65.5%)
CIE-LABlab(17.64, 10.20, -30.87)
CIE-LCHlch(17.64, 32.51, 288.28°)
OKLaboklab(29.35% -0.0098 -0.0886)
OKLCHoklch(29.35% 0.089 263.7)
XYZxyz(2.8423, 2.4389, 9.5516)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142958 #584314
analogous
#144B58 #142958 #211458
triadic
#142958 #581429 #295814
tetradic
#142958 #58144B #584314 #145821
square
#142958 #58144B #584314 #145821
split-complementary
#142958 #582114 #4B5814
monochromatic
#060C19 #091226 #142958 #1F408A #2B57BC

Accessibility & contrast

On white

14.11
#142958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142958
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142958#FFFFFF#000000##FFFFFF
##1429581.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142958;
/* rgb */ color: rgb(20, 41, 88);
/* oklch */ color: oklch(29.4% 0.089 263.7);
Tailwind
colors: {
  custom: {
    50: '#5c6287',
    500: '#142958',
    950: '#000000',
  },
}
SCSS
$custom: #142958;
$custom-light: #5c6287;
$custom-dark: #000000;
JSON
{
  "hex": "#142958",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 221.471,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29352,
    "c": 0.08916,
    "h": 263.7
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#142958
secondary
#907538
accent
#B342E6
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142958

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

Preview Lab → · Contrast checker → · Palette generator →

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