#142675#142675

#142675 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.137 H 267.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#142675
RGBrgb(20, 38, 117)
HSLhsl(229, 71%, 27%)
HSVhsv(229, 83%, 46%)
CMYKcmyk(82.9%, 67.5%, 0%, 54.1%)
CIE-LABlab(19.30, 24.48, -47.14)
CIE-LCHlch(19.30, 53.12, 297.44°)
OKLaboklab(31.39% -0.0061 -0.1365)
OKLCHoklch(31.39% 0.137 267.4)
XYZxyz(4.1914, 2.8188, 17.1494)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142675 #756314
analogous
#145775 #142675 #331475
triadic
#142675 #751426 #267514
tetradic
#142675 #751457 #756314 #147533
square
#142675 #751457 #756314 #147533
split-complementary
#142675 #753314 #577514
monochromatic
#04081A #0B1541 #142675 #1D37A9 #294ADA

Accessibility & contrast

On white

13.43
#142675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#142675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142675
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142675#FFFFFF#000000##FFFFFF
##1426751.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142675;
/* rgb */ color: rgb(20, 38, 117);
/* oklch */ color: oklch(31.4% 0.137 267.4);
Tailwind
colors: {
  custom: {
    50: '#64609e',
    500: '#142675',
    950: '#000000',
  },
}
SCSS
$custom: #142675;
$custom-light: #64609e;
$custom-dark: #000000;
JSON
{
  "hex": "#142675",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 228.866,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3139,
    "c": 0.1366,
    "h": 267.4
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#142675
secondary
#AB963A
accent
#CC3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142675

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

Preview Lab → · Contrast checker → · Palette generator →

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