#142960#142960

#142960 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.102 H 265.0°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#142960
RGBrgb(20, 41, 96)
HSLhsl(223, 66%, 23%)
HSVhsv(223, 79%, 38%)
CMYKcmyk(79.2%, 57.3%, 0%, 62.4%)
CIE-LABlab(18.27, 13.60, -35.16)
CIE-LCHlch(18.27, 37.69, 291.14°)
OKLaboklab(30.03% -0.0088 -0.1013)
OKLCHoklch(30.03% 0.102 265)
XYZxyz(3.1920, 2.5788, 11.3936)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142960 #604B14
analogous
#144F60 #142960 #251460
triadic
#142960 #601429 #296014
tetradic
#142960 #60144F #604B14 #146025
square
#142960 #60144F #604B14 #146025
split-complementary
#142960 #602514 #4F6014
monochromatic
#050B19 #09132D #142960 #1F3F93 #2954C5

Accessibility & contrast

On white

13.85
#142960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142960
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142960#FFFFFF#000000##FFFFFF
##1429601.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013062
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142960;
/* rgb */ color: rgb(20, 41, 96);
/* oklch */ color: oklch(30.0% 0.102 265.0);
Tailwind
colors: {
  custom: {
    50: '#5e628e',
    500: '#142960',
    950: '#000000',
  },
}
SCSS
$custom: #142960;
$custom-light: #5e628e;
$custom-dark: #000000;
JSON
{
  "hex": "#142960",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 96
  },
  "hsl": {
    "h": 223.421,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30033,
    "c": 0.10163,
    "h": 265
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#142960
secondary
#987D38
accent
#BA3FE8
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142960

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

Preview Lab → · Contrast checker → · Palette generator →

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