#142E61#142E61

#142E61 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.096 H 262.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#142E61
RGBrgb(20, 46, 97)
HSLhsl(220, 66%, 23%)
HSVhsv(220, 79%, 38%)
CMYKcmyk(79.4%, 52.6%, 0%, 62%)
CIE-LABlab(19.90, 10.35, -33.18)
CIE-LCHlch(19.90, 34.75, 287.32°)
OKLaboklab(31.3% -0.0132 -0.0953)
OKLCHoklch(31.3% 0.096 262.1)
XYZxyz(3.4224, 2.9654, 11.6990)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E61 #614714
analogous
#145461 #142E61 #201461
triadic
#142E61 #61142E #2E6114
tetradic
#142E61 #611454 #614714 #146120
square
#142E61 #611454 #614714 #146120
split-complementary
#142E61 #612014 #546114
monochromatic
#050C19 #0A162E #142E61 #1E4694 #295EC6

Accessibility & contrast

On white

13.18
#142E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E61
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E61#FFFFFF#000000##FFFFFF
##142E611.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103463
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142e61;
/* rgb */ color: rgb(20, 46, 97);
/* oklch */ color: oklch(31.3% 0.096 262.1);
Tailwind
colors: {
  custom: {
    50: '#5e668e',
    500: '#142e61',
    950: '#000000',
  },
}
SCSS
$custom: #142e61;
$custom-light: #5e668e;
$custom-dark: #000000;
JSON
{
  "hex": "#142e61",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 219.74,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.313,
    "c": 0.09623,
    "h": 262.1
  },
  "luminance": 0.02966
}

Semantic roles & 50–950 ramp

primary
#142E61
secondary
#987838
accent
#AF3FE9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142E61

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

Preview Lab → · Contrast checker → · Palette generator →

#142E61 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva