#142575#142575

#142575 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.138 H 267.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#142575
RGBrgb(20, 37, 117)
HSLhsl(229, 71%, 27%)
HSVhsv(229, 83%, 46%)
CMYKcmyk(82.9%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.04, 25.18, -47.58)
CIE-LCHlch(19.04, 53.83, 297.89°)
OKLaboklab(31.2% -0.0056 -0.1377)
OKLCHoklch(31.2% 0.138 267.7)
XYZxyz(4.1598, 2.7557, 17.1388)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142575 #756414
analogous
#145675 #142575 #341475
triadic
#142575 #751425 #257514
tetradic
#142575 #751456 #756414 #147534
square
#142575 #751456 #756414 #147534
split-complementary
#142575 #753414 #567514
monochromatic
#04081A #0B1441 #142575 #1D36A9 #2948DA

Accessibility & contrast

On white

13.54
#142575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142575
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142575#FFFFFF#000000##FFFFFF
##1425751.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142575;
/* rgb */ color: rgb(20, 37, 117);
/* oklch */ color: oklch(31.2% 0.138 267.7);
Tailwind
colors: {
  custom: {
    50: '#645f9e',
    500: '#142575',
    950: '#000000',
  },
}
SCSS
$custom: #142575;
$custom-light: #645f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#142575",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 229.485,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31195,
    "c": 0.13785,
    "h": 267.7
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#142575
secondary
#AB973A
accent
#CE3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142575

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

Preview Lab → · Contrast checker → · Palette generator →

#142575 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva