#142F75#142F75

#142F75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.3% C 0.125 H 264.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#142F75
RGBrgb(20, 47, 117)
HSLhsl(223, 71%, 27%)
HSVhsv(223, 83%, 46%)
CMYKcmyk(82.9%, 59.8%, 0%, 54.1%)
CIE-LABlab(21.82, 18.06, -43.03)
CIE-LCHlch(21.82, 46.67, 292.77°)
OKLaboklab(33.26% -0.012 -0.1243)
OKLCHoklch(33.26% 0.125 264.5)
XYZxyz(4.5148, 3.4656, 17.2571)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F75 #755A14
analogous
#146075 #142F75 #2A1475
triadic
#142F75 #75142F #2F7514
tetradic
#142F75 #751460 #755A14 #14752A
square
#142F75 #751460 #755A14 #14752A
split-complementary
#142F75 #752A14 #607514
monochromatic
#040A1A #0B1A41 #142F75 #1D44A9 #295ADA

Accessibility & contrast

On white

12.40
#142F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142F75
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F75#FFFFFF#000000##FFFFFF
##142F751.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #142f75;
/* rgb */ color: rgb(20, 47, 117);
/* oklch */ color: oklch(33.3% 0.125 264.5);
Tailwind
colors: {
  custom: {
    50: '#63679d',
    500: '#142f75',
    950: '#000000',
  },
}
SCSS
$custom: #142f75;
$custom-light: #63679d;
$custom-dark: #000000;
JSON
{
  "hex": "#142f75",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 223.299,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33261,
    "c": 0.12486,
    "h": 264.5
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#142F75
secondary
#AB8C3A
accent
#BC3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #142F75

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

Preview Lab → · Contrast checker → · Palette generator →

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