#142580#142580

#142580 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.153 H 267.6°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#142580
RGBrgb(20, 37, 128)
HSLhsl(231, 73%, 29%)
HSVhsv(231, 84%, 50%)
CMYKcmyk(84.4%, 71.1%, 0%, 49.8%)
CIE-LABlab(20.16, 29.52, -52.74)
CIE-LCHlch(20.16, 60.44, 299.23°)
OKLaboklab(32.36% -0.0063 -0.1528)
OKLCHoklch(32.36% 0.153 267.6)
XYZxyz(4.8450, 3.0298, 20.7473)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142580 #806F14
analogous
#145B80 #142580 #391480
triadic
#142580 #801425 #258014
tetradic
#142580 #80145B #806F14 #148039
square
#142580 #80145B #806F14 #148039
split-complementary
#142580 #803914 #5B8014
monochromatic
#04081A #0C164B #142580 #1C34B5 #304BDF

Accessibility & contrast

On white

13.08
#142580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142580
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142580#FFFFFF#000000##FFFFFF
##1425801.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142580;
/* rgb */ color: rgb(20, 37, 128);
/* oklch */ color: oklch(32.4% 0.153 267.6);
Tailwind
colors: {
  custom: {
    50: '#685fa6',
    500: '#142580',
    950: '#000000',
  },
}
SCSS
$custom: #142580;
$custom-light: #685fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#142580",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 230.556,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32357,
    "c": 0.15294,
    "h": 267.6
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#142580
secondary
#B5A23B
accent
#D338F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #142580

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

Preview Lab → · Contrast checker → · Palette generator →

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