#142565#142565

#142565 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.115 H 267.4°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#142565
RGBrgb(20, 37, 101)
HSLhsl(227, 67%, 24%)
HSVhsv(227, 80%, 40%)
CMYKcmyk(80.2%, 63.4%, 0%, 60.4%)
CIE-LABlab(17.51, 18.64, -39.69)
CIE-LCHlch(17.51, 43.84, 295.16°)
OKLaboklab(29.6% -0.0052 -0.1146)
OKLCHoklch(29.6% 0.115 267.4)
XYZxyz(3.2982, 2.4111, 12.6010)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142565 #655414
analogous
#144D65 #142565 #2B1465
triadic
#142565 #651425 #256514
tetradic
#142565 #65144D #655414 #14652B
square
#142565 #65144D #655414 #14652B
split-complementary
#142565 #652B14 #4D6514
monochromatic
#05091A #0A1232 #142565 #1E3898 #284ACB

Accessibility & contrast

On white

14.17
#142565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#142565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142565
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142565#FFFFFF#000000##FFFFFF
##1425651.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142565;
/* rgb */ color: rgb(20, 37, 101);
/* oklch */ color: oklch(29.6% 0.115 267.4);
Tailwind
colors: {
  custom: {
    50: '#605f92',
    500: '#142565',
    950: '#000000',
  },
}
SCSS
$custom: #142565;
$custom-light: #605f92;
$custom-dark: #000000;
JSON
{
  "hex": "#142565",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 101
  },
  "hsl": {
    "h": 227.407,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29597,
    "c": 0.11475,
    "h": 267.4
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#142565
secondary
#9C8739
accent
#C63EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #142565

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

Preview Lab → · Contrast checker → · Palette generator →

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