#142476#142476

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

Color values

HEX#142476
RGBrgb(20, 36, 118)
HSLhsl(230, 71%, 27%)
HSVhsv(230, 83%, 46%)
CMYKcmyk(83.1%, 69.5%, 0%, 53.7%)
CIE-LABlab(18.88, 26.27, -48.48)
CIE-LCHlch(18.88, 55.14, 298.45°)
OKLaboklab(31.11% -0.0051 -0.1404)
OKLCHoklch(31.11% 0.14 267.9)
XYZxyz(4.1882, 2.7180, 17.4399)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142476 #766614
analogous
#145576 #142476 #351476
triadic
#142476 #761424 #247614
tetradic
#142476 #761455 #766614 #147635
square
#142476 #761455 #766614 #147635
split-complementary
#142476 #763514 #557614
monochromatic
#04081A #0B1442 #142476 #1D34AA #2A47DB

Accessibility & contrast

On white

13.60
#142476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#142476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142476
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142476#FFFFFF#000000##FFFFFF
##1424761.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142476;
/* rgb */ color: rgb(20, 36, 118);
/* oklch */ color: oklch(31.1% 0.140 267.9);
Tailwind
colors: {
  custom: {
    50: '#655e9e',
    500: '#142476',
    950: '#000000',
  },
}
SCSS
$custom: #142476;
$custom-light: #655e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#142476",
  "rgb": {
    "r": 20,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 230.204,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31108,
    "c": 0.14048,
    "h": 267.9
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#142476
secondary
#AC993A
accent
#D03AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #142476

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

Preview Lab → · Contrast checker → · Palette generator →

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