#142D61#142D61

#142D61 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.098 H 262.8°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#142D61
RGBrgb(20, 45, 97)
HSLhsl(221, 66%, 23%)
HSVhsv(221, 79%, 38%)
CMYKcmyk(79.4%, 53.6%, 0%, 62%)
CIE-LABlab(19.59, 11.08, -33.68)
CIE-LCHlch(19.59, 35.46, 288.20°)
OKLaboklab(31.06% -0.0123 -0.0968)
OKLCHoklch(31.06% 0.098 262.8)
XYZxyz(3.3838, 2.8882, 11.6861)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D61 #614814
analogous
#145361 #142D61 #211461
triadic
#142D61 #61142D #2D6114
tetradic
#142D61 #611453 #614814 #146121
square
#142D61 #611453 #614814 #146121
split-complementary
#142D61 #612114 #536114
monochromatic
#050C19 #0A152E #142D61 #1E4594 #295CC6

Accessibility & contrast

On white

13.31
#142D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#142D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D61
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D61#FFFFFF#000000##FFFFFF
##142D611.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3363
Deuteranopia (green-blind)
#002C60
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142d61;
/* rgb */ color: rgb(20, 45, 97);
/* oklch */ color: oklch(31.1% 0.098 262.8);
Tailwind
colors: {
  custom: {
    50: '#5e658e',
    500: '#142d61',
    950: '#000000',
  },
}
SCSS
$custom: #142d61;
$custom-light: #5e658e;
$custom-dark: #000000;
JSON
{
  "hex": "#142d61",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 220.519,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3106,
    "c": 0.09761,
    "h": 262.8
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#142D61
secondary
#987938
accent
#B23FE9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142D61

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

Preview Lab → · Contrast checker → · Palette generator →

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