#142C61#142C61

#142C61 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.099 H 263.4°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#142C61
RGBrgb(20, 44, 97)
HSLhsl(221, 66%, 23%)
HSVhsv(221, 79%, 38%)
CMYKcmyk(79.4%, 54.6%, 0%, 62%)
CIE-LABlab(19.28, 11.81, -34.19)
CIE-LCHlch(19.28, 36.17, 289.06°)
OKLaboklab(30.82% -0.0114 -0.0983)
OKLCHoklch(30.82% 0.099 263.4)
XYZxyz(3.3461, 2.8128, 11.6735)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C61 #614914
analogous
#145261 #142C61 #231461
triadic
#142C61 #61142C #2C6114
tetradic
#142C61 #611452 #614914 #146123
square
#142C61 #611452 #614914 #146123
split-complementary
#142C61 #612314 #526114
monochromatic
#050C19 #0A152E #142C61 #1E4394 #295AC6

Accessibility & contrast

On white

13.44
#142C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#142C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C61
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C61#FFFFFF#000000##FFFFFF
##142C611.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142c61;
/* rgb */ color: rgb(20, 44, 97);
/* oklch */ color: oklch(30.8% 0.099 263.4);
Tailwind
colors: {
  custom: {
    50: '#5e648e',
    500: '#142c61',
    950: '#000000',
  },
}
SCSS
$custom: #142c61;
$custom-light: #5e648e;
$custom-dark: #000000;
JSON
{
  "hex": "#142c61",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 97
  },
  "hsl": {
    "h": 221.299,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30822,
    "c": 0.099,
    "h": 263.4
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#142C61
secondary
#987B38
accent
#B43FE9
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142C61

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

Preview Lab → · Contrast checker → · Palette generator →

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