#142E72#142E72

#142E72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.122 H 264.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#142E72
RGBrgb(20, 46, 114)
HSLhsl(223, 70%, 26%)
HSVhsv(223, 82%, 45%)
CMYKcmyk(82.5%, 59.6%, 0%, 55.3%)
CIE-LABlab(21.27, 17.53, -42.00)
CIE-LCHlch(21.27, 45.51, 292.66°)
OKLaboklab(32.77% -0.0114 -0.1213)
OKLCHoklch(32.77% 0.122 264.6)
XYZxyz(4.3017, 3.3171, 16.3299)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E72 #725814
analogous
#145D72 #142E72 #291472
triadic
#142E72 #72142E #2E7214
tetradic
#142E72 #72145D #725814 #147229
square
#142E72 #72145D #725814 #147229
split-complementary
#142E72 #722914 #5D7214
monochromatic
#050B1A #0B193E #142E72 #1D43A6 #2758D9

Accessibility & contrast

On white

12.62
#142E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#142E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E72
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E72#FFFFFF#000000##FFFFFF
##142E721.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142e72;
/* rgb */ color: rgb(20, 46, 114);
/* oklch */ color: oklch(32.8% 0.122 264.6);
Tailwind
colors: {
  custom: {
    50: '#63669b',
    500: '#142e72',
    950: '#000000',
  },
}
SCSS
$custom: #142e72;
$custom-light: #63669b;
$custom-dark: #000000;
JSON
{
  "hex": "#142e72",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 223.404,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32769,
    "c": 0.12181,
    "h": 264.6
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#142E72
secondary
#A88A39
accent
#BC3BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142E72

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

Preview Lab → · Contrast checker → · Palette generator →

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