#142A6E#142A6E

#142A6E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.121 H 265.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#142A6E
RGBrgb(20, 42, 110)
HSLhsl(225, 69%, 25%)
HSVhsv(225, 82%, 43%)
CMYKcmyk(81.8%, 61.8%, 0%, 56.9%)
CIE-LABlab(19.76, 18.75, -41.88)
CIE-LCHlch(19.76, 45.89, 294.12°)
OKLaboklab(31.53% -0.0087 -0.121)
OKLCHoklch(31.53% 0.121 265.9)
XYZxyz(3.9299, 2.9300, 15.1073)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A6E #6E5814
analogous
#14576E #142A6E #2B146E
triadic
#142A6E #6E142A #2A6E14
tetradic
#142A6E #6E1457 #6E5814 #146E2B
square
#142A6E #6E1457 #6E5814 #146E2B
split-complementary
#142A6E #6E2B14 #576E14
monochromatic
#050A1A #0B163A #142A6E #1D3EA2 #2752D6

Accessibility & contrast

On white

13.24
#142A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A6E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A6E#FFFFFF#000000##FFFFFF
##142A6E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142a6e;
/* rgb */ color: rgb(20, 42, 110);
/* oklch */ color: oklch(31.5% 0.121 265.9);
Tailwind
colors: {
  custom: {
    50: '#626398',
    500: '#142a6e',
    950: '#000000',
  },
}
SCSS
$custom: #142a6e;
$custom-light: #626398;
$custom-dark: #000000;
JSON
{
  "hex": "#142a6e",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 225.333,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31528,
    "c": 0.12131,
    "h": 265.9
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#142A6E
secondary
#A58A39
accent
#C13CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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