#142E5E#142E5E

#142E5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.092 H 261.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#142E5E
RGBrgb(20, 46, 94)
HSLhsl(219, 65%, 22%)
HSVhsv(219, 79%, 37%)
CMYKcmyk(78.7%, 51.1%, 0%, 63.1%)
CIE-LABlab(19.68, 9.07, -31.56)
CIE-LCHlch(19.68, 32.84, 286.03°)
OKLaboklab(31.06% -0.0137 -0.0906)
OKLCHoklch(31.06% 0.092 261.4)
XYZxyz(3.2851, 2.9105, 10.9762)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E5E #5E4414
analogous
#14535E #142E5E #1F145E
triadic
#142E5E #5E142E #2E5E14
tetradic
#142E5E #5E1453 #5E4414 #145E1F
square
#142E5E #5E1453 #5E4414 #145E1F
split-complementary
#142E5E #5E1F14 #535E14
monochromatic
#050C19 #09152C #142E5E #1F4790 #295FC3

Accessibility & contrast

On white

13.27
#142E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#142E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E5E
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E5E#FFFFFF#000000##FFFFFF
##142E5E1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143360
Deuteranopia (green-blind)
#022C5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142e5e;
/* rgb */ color: rgb(20, 46, 94);
/* oklch */ color: oklch(31.1% 0.092 261.4);
Tailwind
colors: {
  custom: {
    50: '#5d668c',
    500: '#142e5e',
    950: '#000000',
  },
}
SCSS
$custom: #142e5e;
$custom-light: #5d668c;
$custom-dark: #000000;
JSON
{
  "hex": "#142e5e",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 218.919,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31058,
    "c": 0.0916,
    "h": 261.4
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#142E5E
secondary
#967538
accent
#AD40E8
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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