#142775#142775

#142775 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.135 H 267.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#142775
RGBrgb(20, 39, 117)
HSLhsl(228, 71%, 27%)
HSVhsv(228, 83%, 46%)
CMYKcmyk(82.9%, 66.7%, 0%, 54.1%)
CIE-LABlab(19.57, 23.78, -46.70)
CIE-LCHlch(19.57, 52.41, 296.98°)
OKLaboklab(31.59% -0.0067 -0.1352)
OKLCHoklch(31.59% 0.135 267.1)
XYZxyz(4.2238, 2.8836, 17.1602)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142775 #756214
analogous
#145875 #142775 #311475
triadic
#142775 #751427 #277514
tetradic
#142775 #751458 #756214 #147531
square
#142775 #751458 #756214 #147531
split-complementary
#142775 #753114 #587514
monochromatic
#04091A #0B1641 #142775 #1D38A9 #294CDA

Accessibility & contrast

On white

13.32
#142775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#142775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142775
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142775#FFFFFF#000000##FFFFFF
##1427751.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142775;
/* rgb */ color: rgb(20, 39, 117);
/* oklch */ color: oklch(31.6% 0.135 267.1);
Tailwind
colors: {
  custom: {
    50: '#64619e',
    500: '#142775',
    950: '#000000',
  },
}
SCSS
$custom: #142775;
$custom-light: #64619e;
$custom-dark: #000000;
JSON
{
  "hex": "#142775",
  "rgb": {
    "r": 20,
    "g": 39,
    "b": 117
  },
  "hsl": {
    "h": 228.247,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31588,
    "c": 0.13533,
    "h": 267.1
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#142775
secondary
#AB953A
accent
#CA3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142775

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

Preview Lab → · Contrast checker → · Palette generator →

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