#142474#142474

#142474 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.138 H 267.9°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#142474
RGBrgb(20, 36, 116)
HSLhsl(230, 71%, 27%)
HSVhsv(230, 83%, 45%)
CMYKcmyk(82.8%, 69%, 0%, 54.5%)
CIE-LABlab(18.68, 25.48, -47.53)
CIE-LCHlch(18.68, 53.93, 298.19°)
OKLaboklab(30.9% -0.0049 -0.1376)
OKLCHoklch(30.9% 0.138 267.9)
XYZxyz(4.0707, 2.6710, 16.8206)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142474 #746414
analogous
#145474 #142474 #341474
triadic
#142474 #741424 #247414
tetradic
#142474 #741454 #746414 #147434
square
#142474 #741454 #746414 #147434
split-complementary
#142474 #743414 #547414
monochromatic
#05081A #0B1440 #142474 #1D34A8 #2846DA

Accessibility & contrast

On white

13.69
#142474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142474
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142474#FFFFFF#000000##FFFFFF
##1424741.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142474;
/* rgb */ color: rgb(20, 36, 116);
/* oklch */ color: oklch(30.9% 0.138 267.9);
Tailwind
colors: {
  custom: {
    50: '#645e9d',
    500: '#142474',
    950: '#000000',
  },
}
SCSS
$custom: #142474;
$custom-light: #645e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#142474",
  "rgb": {
    "r": 20,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 230,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30899,
    "c": 0.1377,
    "h": 267.9
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#142474
secondary
#AA973A
accent
#D03AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142474

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

Preview Lab → · Contrast checker → · Palette generator →

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