#142F72#142F72

#142F72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.0% C 0.120 H 264.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#142F72
RGBrgb(20, 47, 114)
HSLhsl(223, 70%, 26%)
HSVhsv(223, 82%, 45%)
CMYKcmyk(82.5%, 58.8%, 0%, 55.3%)
CIE-LABlab(21.57, 16.81, -41.52)
CIE-LCHlch(21.57, 44.79, 292.04°)
OKLaboklab(32.99% -0.0122 -0.1198)
OKLCHoklch(32.99% 0.12 264.2)
XYZxyz(4.3412, 3.3962, 16.3431)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F72 #725714
analogous
#145E72 #142F72 #281472
triadic
#142F72 #72142F #2F7214
tetradic
#142F72 #72145E #725714 #147228
square
#142F72 #72145E #725714 #147228
split-complementary
#142F72 #722814 #5E7214
monochromatic
#050B1A #0B1A3E #142F72 #1D44A6 #275AD9

Accessibility & contrast

On white

12.50
#142F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#142F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F72
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F72#FFFFFF#000000##FFFFFF
##142F721.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #142f72;
/* rgb */ color: rgb(20, 47, 114);
/* oklch */ color: oklch(33.0% 0.120 264.2);
Tailwind
colors: {
  custom: {
    50: '#63679b',
    500: '#142f72',
    950: '#000000',
  },
}
SCSS
$custom: #142f72;
$custom-light: #63679b;
$custom-dark: #000000;
JSON
{
  "hex": "#142f72",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 222.766,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3299,
    "c": 0.12047,
    "h": 264.2
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#142F72
secondary
#A88839
accent
#BA3BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #142F72

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

Preview Lab → · Contrast checker → · Palette generator →

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