#142681#142681

#142681 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.153 H 267.4°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#142681
RGBrgb(20, 38, 129)
HSLhsl(230, 73%, 29%)
HSVhsv(230, 84%, 51%)
CMYKcmyk(84.5%, 70.5%, 0%, 49.4%)
CIE-LABlab(20.52, 29.23, -52.79)
CIE-LCHlch(20.52, 60.34, 298.98°)
OKLaboklab(32.65% -0.0068 -0.153)
OKLCHoklch(32.65% 0.153 267.4)
XYZxyz(4.9427, 3.1193, 21.1062)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142681 #816F14
analogous
#145D81 #142681 #391481
triadic
#142681 #811426 #268114
tetradic
#142681 #81145D #816F14 #148139
square
#142681 #81145D #816F14 #148139
split-complementary
#142681 #813914 #5D8114
monochromatic
#04081A #0C164C #142681 #1C36B6 #304DDF

Accessibility & contrast

On white

12.93
#142681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#142681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142681
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142681#FFFFFF#000000##FFFFFF
##1426811.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142681;
/* rgb */ color: rgb(20, 38, 129);
/* oklch */ color: oklch(32.6% 0.153 267.4);
Tailwind
colors: {
  custom: {
    50: '#6860a7',
    500: '#142681',
    950: '#000000',
  },
}
SCSS
$custom: #142681;
$custom-light: #6860a7;
$custom-dark: #000000;
JSON
{
  "hex": "#142681",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 129
  },
  "hsl": {
    "h": 230.092,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32645,
    "c": 0.15311,
    "h": 267.4
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#142681
secondary
#B6A23B
accent
#D138F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #142681

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

Preview Lab → · Contrast checker → · Palette generator →

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