#142D75#142D75

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

Color values

HEX#142D75
RGBrgb(20, 45, 117)
HSLhsl(225, 71%, 27%)
HSVhsv(225, 83%, 46%)
CMYKcmyk(82.9%, 61.5%, 0%, 54.1%)
CIE-LABlab(21.24, 19.50, -43.97)
CIE-LCHlch(21.24, 48.10, 293.92°)
OKLaboklab(32.83% -0.0106 -0.1271)
OKLCHoklch(32.83% 0.128 265.2)
XYZxyz(4.4366, 3.3093, 17.2311)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D75 #755C14
analogous
#145E75 #142D75 #2C1475
triadic
#142D75 #75142D #2D7514
tetradic
#142D75 #75145E #755C14 #14752C
square
#142D75 #75145E #755C14 #14752C
split-complementary
#142D75 #752C14 #5E7514
monochromatic
#040A1A #0B1941 #142D75 #1D41A9 #2957DA

Accessibility & contrast

On white

12.64
#142D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D75
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D75#FFFFFF#000000##FFFFFF
##142D751.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142d75;
/* rgb */ color: rgb(20, 45, 117);
/* oklch */ color: oklch(32.8% 0.128 265.2);
Tailwind
colors: {
  custom: {
    50: '#64659d',
    500: '#142d75',
    950: '#000000',
  },
}
SCSS
$custom: #142d75;
$custom-light: #64659d;
$custom-dark: #000000;
JSON
{
  "hex": "#142d75",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 224.536,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32829,
    "c": 0.12751,
    "h": 265.2
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#142D75
secondary
#AB8E3A
accent
#BF3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142D75

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

Preview Lab → · Contrast checker → · Palette generator →

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