#142A66#142A66

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

Color values

HEX#142A66
RGBrgb(20, 42, 102)
HSLhsl(224, 67%, 24%)
HSVhsv(224, 80%, 40%)
CMYKcmyk(80.4%, 58.8%, 0%, 60%)
CIE-LABlab(19.07, 15.40, -37.80)
CIE-LCHlch(19.07, 40.82, 292.16°)
OKLaboklab(30.79% -0.0091 -0.109)
OKLCHoklch(30.79% 0.109 265.2)
XYZxyz(3.5139, 2.7636, 12.9160)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A66 #665014
analogous
#145366 #142A66 #271466
triadic
#142A66 #66142A #2A6614
tetradic
#142A66 #661453 #665014 #146627
square
#142A66 #661453 #665014 #146627
split-complementary
#142A66 #662714 #536614
monochromatic
#050B1A #0A1533 #142A66 #1E3F99 #2854CC

Accessibility & contrast

On white

13.52
#142A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A66
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A66#FFFFFF#000000##FFFFFF
##142A661.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142a66;
/* rgb */ color: rgb(20, 42, 102);
/* oklch */ color: oklch(30.8% 0.109 265.2);
Tailwind
colors: {
  custom: {
    50: '#606392',
    500: '#142a66',
    950: '#000000',
  },
}
SCSS
$custom: #142a66;
$custom-light: #606392;
$custom-dark: #000000;
JSON
{
  "hex": "#142a66",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 223.902,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30793,
    "c": 0.10939,
    "h": 265.2
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#142A66
secondary
#9D8239
accent
#BC3EEA
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142A66

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

Preview Lab → · Contrast checker → · Palette generator →

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