#142948#142948

#142948 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.1% C 0.064 H 258.1°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#142948
RGBrgb(20, 41, 72)
HSLhsl(216, 57%, 18%)
HSVhsv(216, 72%, 28%)
CMYKcmyk(72.2%, 43.1%, 0%, 71.8%)
CIE-LABlab(16.52, 3.43, -21.85)
CIE-LCHlch(16.52, 22.12, 278.92°)
OKLaboklab(28.12% -0.0131 -0.0621)
OKLCHoklch(28.12% 0.064 258.1)
XYZxyz(2.2507, 2.2023, 6.4361)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142948 #483314
analogous
#144348 #142948 #191448
triadic
#142948 #481429 #294814
tetradic
#142948 #481443 #483314 #144819
square
#142948 #481443 #483314 #144819
split-complementary
#142948 #481914 #434814
monochromatic
#070E18 #070E18 #142948 #214478 #2F60A8

Accessibility & contrast

On white

14.58
#142948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142948
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142948#FFFFFF#000000##FFFFFF
##1429481.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B49
Deuteranopia (green-blind)
#142747
Tritanopia (blue-blind)
#003035
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142948;
/* rgb */ color: rgb(20, 41, 72);
/* oklch */ color: oklch(28.1% 0.064 258.1);
Tailwind
colors: {
  custom: {
    50: '#58627b',
    500: '#142948',
    950: '#000000',
  },
}
SCSS
$custom: #142948;
$custom-light: #58627b;
$custom-dark: #000000;
JSON
{
  "hex": "#142948",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 72
  },
  "hsl": {
    "h": 215.769,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28122,
    "c": 0.0635,
    "h": 258.1
  },
  "luminance": 0.02202
}

Semantic roles & 50–950 ramp

primary
#142948
secondary
#806338
accent
#A248E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #142948

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

Preview Lab → · Contrast checker → · Palette generator →

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