#142F74#142F74

#142F74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.123 H 264.4°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#142F74
RGBrgb(20, 47, 116)
HSLhsl(223, 71%, 27%)
HSVhsv(223, 83%, 45%)
CMYKcmyk(82.8%, 59.5%, 0%, 54.5%)
CIE-LABlab(21.73, 17.65, -42.53)
CIE-LCHlch(21.73, 46.04, 292.54°)
OKLaboklab(33.17% -0.0121 -0.1228)
OKLCHoklch(33.17% 0.123 264.4)
XYZxyz(4.4563, 3.4422, 16.9492)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F74 #745914
analogous
#145F74 #142F74 #291474
triadic
#142F74 #74142F #2F7414
tetradic
#142F74 #74145F #745914 #147429
square
#142F74 #74145F #745914 #147429
split-complementary
#142F74 #742914 #5F7414
monochromatic
#050B1A #0B1A40 #142F74 #1D44A8 #285ADA

Accessibility & contrast

On white

12.44
#142F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#142F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F74
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F74#FFFFFF#000000##FFFFFF
##142F741.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142f74;
/* rgb */ color: rgb(20, 47, 116);
/* oklch */ color: oklch(33.2% 0.123 264.4);
Tailwind
colors: {
  custom: {
    50: '#63679d',
    500: '#142f74',
    950: '#000000',
  },
}
SCSS
$custom: #142f74;
$custom-light: #63679d;
$custom-dark: #000000;
JSON
{
  "hex": "#142f74",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 223.125,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3317,
    "c": 0.1234,
    "h": 264.4
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#142F74
secondary
#AA8B3A
accent
#BB3AED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #142F74

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

Preview Lab → · Contrast checker → · Palette generator →

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