#142061#142061

#142061 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.2% C 0.116 H 269.3°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#142061
RGBrgb(20, 32, 97)
HSLhsl(231, 66%, 23%)
HSVhsv(231, 79%, 38%)
CMYKcmyk(79.4%, 67%, 0%, 62%)
CIE-LABlab(15.72, 20.62, -39.98)
CIE-LCHlch(15.72, 44.98, 297.29°)
OKLaboklab(28.15% -0.0015 -0.1155)
OKLCHoklch(28.15% 0.116 269.3)
XYZxyz(2.9619, 2.0445, 11.5455)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142061 #615514
analogous
#144661 #142061 #2E1461
triadic
#142061 #611420 #206114
tetradic
#142061 #611446 #615514 #14612E
square
#142061 #611446 #615514 #14612E
split-complementary
#142061 #612E14 #466114
monochromatic
#050819 #0A0F2E #142061 #1E3194 #2941C6

Accessibility & contrast

On white

14.90
#142061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#142061 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142061
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142061#FFFFFF#000000##FFFFFF
##1420611.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002460
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142061;
/* rgb */ color: rgb(20, 32, 97);
/* oklch */ color: oklch(28.2% 0.116 269.3);
Tailwind
colors: {
  custom: {
    50: '#5f5b8f',
    500: '#142061',
    950: '#000000',
  },
}
SCSS
$custom: #142061;
$custom-light: #5f5b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#142061",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 97
  },
  "hsl": {
    "h": 230.649,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28153,
    "c": 0.11555,
    "h": 269.3
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#142061
secondary
#988A38
accent
#CE3FE9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #142061

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

Preview Lab → · Contrast checker → · Palette generator →

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