#142A6F#142A6F

#142A6F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.6% C 0.123 H 265.9°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#142A6F
RGBrgb(20, 42, 111)
HSLhsl(225, 69%, 26%)
HSVhsv(225, 82%, 44%)
CMYKcmyk(82%, 62.2%, 0%, 56.5%)
CIE-LABlab(19.85, 19.17, -42.38)
CIE-LCHlch(19.85, 46.52, 294.34°)
OKLaboklab(31.62% -0.0087 -0.1225)
OKLCHoklch(31.62% 0.123 265.9)
XYZxyz(3.9847, 2.9519, 15.3956)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A6F #6F5914
analogous
#14576F #142A6F #2C146F
triadic
#142A6F #6F142A #2A6F14
tetradic
#142A6F #6F1457 #6F5914 #146F2C
square
#142A6F #6F1457 #6F5914 #146F2C
split-complementary
#142A6F #6F2C14 #576F14
monochromatic
#050A1A #0B163B #142A6F #1D3EA3 #2751D7

Accessibility & contrast

On white

13.20
#142A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A6F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A6F#FFFFFF#000000##FFFFFF
##142A6F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142a6f;
/* rgb */ color: rgb(20, 42, 111);
/* oklch */ color: oklch(31.6% 0.123 265.9);
Tailwind
colors: {
  custom: {
    50: '#626399',
    500: '#142a6f',
    950: '#000000',
  },
}
SCSS
$custom: #142a6f;
$custom-light: #626399;
$custom-dark: #000000;
JSON
{
  "hex": "#142a6f",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 225.495,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31622,
    "c": 0.12278,
    "h": 265.9
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#142A6F
secondary
#A68B39
accent
#C23CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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