#142F73#142F73

#142F73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.122 H 264.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#142F73
RGBrgb(20, 47, 115)
HSLhsl(223, 70%, 26%)
HSVhsv(223, 83%, 45%)
CMYKcmyk(82.6%, 59.1%, 0%, 54.9%)
CIE-LABlab(21.65, 17.23, -42.03)
CIE-LCHlch(21.65, 45.42, 292.29°)
OKLaboklab(33.08% -0.0121 -0.1213)
OKLCHoklch(33.08% 0.122 264.3)
XYZxyz(4.3984, 3.4190, 16.6445)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F73 #735814
analogous
#145F73 #142F73 #291473
triadic
#142F73 #73142F #2F7314
tetradic
#142F73 #73145F #735814 #147329
square
#142F73 #73145F #735814 #147329
split-complementary
#142F73 #732914 #5F7314
monochromatic
#050B1A #0B1A3F #142F73 #1D44A7 #285ADA

Accessibility & contrast

On white

12.47
#142F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142F73
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F73#FFFFFF#000000##FFFFFF
##142F731.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #142f73;
/* rgb */ color: rgb(20, 47, 115);
/* oklch */ color: oklch(33.1% 0.122 264.3);
Tailwind
colors: {
  custom: {
    50: '#63679c',
    500: '#142f73',
    950: '#000000',
  },
}
SCSS
$custom: #142f73;
$custom-light: #63679c;
$custom-dark: #000000;
JSON
{
  "hex": "#142f73",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 222.947,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3308,
    "c": 0.12193,
    "h": 264.3
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #142F73

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

Preview Lab → · Contrast checker → · Palette generator →

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