#142674#142674

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

Color values

HEX#142674
RGBrgb(20, 38, 116)
HSLhsl(229, 71%, 27%)
HSVhsv(229, 83%, 45%)
CMYKcmyk(82.8%, 67.2%, 0%, 54.5%)
CIE-LABlab(19.21, 24.08, -46.66)
CIE-LCHlch(19.21, 52.51, 297.29°)
OKLaboklab(31.29% -0.0061 -0.135)
OKLCHoklch(31.29% 0.135 267.4)
XYZxyz(4.1329, 2.7954, 16.8414)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142674 #746214
analogous
#145674 #142674 #321474
triadic
#142674 #741426 #267414
tetradic
#142674 #741456 #746214 #147432
square
#142674 #741456 #746214 #147432
split-complementary
#142674 #743214 #567414
monochromatic
#05091A #0B1540 #142674 #1D37A8 #284ADA

Accessibility & contrast

On white

13.47
#142674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142674
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142674#FFFFFF#000000##FFFFFF
##1426741.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142674;
/* rgb */ color: rgb(20, 38, 116);
/* oklch */ color: oklch(31.3% 0.135 267.4);
Tailwind
colors: {
  custom: {
    50: '#64609d',
    500: '#142674',
    950: '#000000',
  },
}
SCSS
$custom: #142674;
$custom-light: #64609d;
$custom-dark: #000000;
JSON
{
  "hex": "#142674",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 228.75,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31288,
    "c": 0.13519,
    "h": 267.4
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#142674
secondary
#AA953A
accent
#CC3AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142674

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

Preview Lab → · Contrast checker → · Palette generator →

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