#142460#142460

#142460 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.109 H 267.6°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#142460
RGBrgb(20, 36, 96)
HSLhsl(227, 66%, 23%)
HSVhsv(227, 79%, 38%)
CMYKcmyk(79.2%, 62.5%, 0%, 62.4%)
CIE-LABlab(16.77, 17.29, -37.60)
CIE-LCHlch(16.77, 41.38, 294.69°)
OKLaboklab(28.9% -0.0045 -0.1085)
OKLCHoklch(28.9% 0.109 267.6)
XYZxyz(3.0300, 2.2547, 11.3396)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142460 #605014
analogous
#144A60 #142460 #2A1460
triadic
#142460 #601424 #246014
tetradic
#142460 #60144A #605014 #14602A
square
#142460 #60144A #605014 #14602A
split-complementary
#142460 #602A14 #4A6014
monochromatic
#050919 #09112D #142460 #1F3793 #294AC5

Accessibility & contrast

On white

14.47
#142460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#142460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142460
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142460#FFFFFF#000000##FFFFFF
##1424601.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142460;
/* rgb */ color: rgb(20, 36, 96);
/* oklch */ color: oklch(28.9% 0.109 267.6);
Tailwind
colors: {
  custom: {
    50: '#5e5e8e',
    500: '#142460',
    950: '#000000',
  },
}
SCSS
$custom: #142460;
$custom-light: #5e5e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#142460",
  "rgb": {
    "r": 20,
    "g": 36,
    "b": 96
  },
  "hsl": {
    "h": 227.368,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28904,
    "c": 0.10861,
    "h": 267.6
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#142460
secondary
#988338
accent
#C53FE8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #142460

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

Preview Lab → · Contrast checker → · Palette generator →

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