#142672#142672

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

Color values

HEX#142672
RGBrgb(20, 38, 114)
HSLhsl(229, 70%, 26%)
HSVhsv(229, 82%, 45%)
CMYKcmyk(82.5%, 66.7%, 0%, 55.3%)
CIE-LABlab(19.01, 23.27, -45.69)
CIE-LCHlch(19.01, 51.27, 296.99°)
OKLaboklab(31.09% -0.006 -0.1322)
OKLCHoklch(31.09% 0.132 267.4)
XYZxyz(4.0178, 2.7494, 16.2353)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142672 #726014
analogous
#145572 #142672 #311472
triadic
#142672 #721426 #267214
tetradic
#142672 #721455 #726014 #147231
square
#142672 #721455 #726014 #147231
split-complementary
#142672 #723114 #557214
monochromatic
#05091A #0B153E #142672 #1D37A6 #2749D9

Accessibility & contrast

On white

13.55
#142672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142672
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142672#FFFFFF#000000##FFFFFF
##1426721.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142672;
/* rgb */ color: rgb(20, 38, 114);
/* oklch */ color: oklch(31.1% 0.132 267.4);
Tailwind
colors: {
  custom: {
    50: '#63609b',
    500: '#142672',
    950: '#000000',
  },
}
SCSS
$custom: #142672;
$custom-light: #63609b;
$custom-dark: #000000;
JSON
{
  "hex": "#142672",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 228.511,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31085,
    "c": 0.13236,
    "h": 267.4
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#142672
secondary
#A89339
accent
#CB3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142672

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

Preview Lab → · Contrast checker → · Palette generator →

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