#142D5E#142D5E

#142D5E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.093 H 262.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#142D5E
RGBrgb(20, 45, 94)
HSLhsl(220, 65%, 22%)
HSVhsv(220, 79%, 37%)
CMYKcmyk(78.7%, 52.1%, 0%, 63.1%)
CIE-LABlab(19.36, 9.80, -32.07)
CIE-LCHlch(19.36, 33.54, 286.99°)
OKLaboklab(30.81% -0.0128 -0.0921)
OKLCHoklch(30.81% 0.093 262.1)
XYZxyz(3.2465, 2.8333, 10.9633)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D5E #5E4514
analogous
#14525E #142D5E #20145E
triadic
#142D5E #5E142D #2D5E14
tetradic
#142D5E #5E1452 #5E4514 #145E20
square
#142D5E #5E1452 #5E4514 #145E20
split-complementary
#142D5E #5E2014 #525E14
monochromatic
#050C19 #09152C #142D5E #1F4590 #295DC3

Accessibility & contrast

On white

13.40
#142D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#142D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D5E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D5E#FFFFFF#000000##FFFFFF
##142D5E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113360
Deuteranopia (green-blind)
#002C5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142d5e;
/* rgb */ color: rgb(20, 45, 94);
/* oklch */ color: oklch(30.8% 0.093 262.1);
Tailwind
colors: {
  custom: {
    50: '#5d658c',
    500: '#142d5e',
    950: '#000000',
  },
}
SCSS
$custom: #142d5e;
$custom-light: #5d658c;
$custom-dark: #000000;
JSON
{
  "hex": "#142d5e",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 219.73,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30814,
    "c": 0.09298,
    "h": 262.1
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#142D5E
secondary
#967638
accent
#AF40E8
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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