#142A61#142A61

#142A61 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.102 H 264.6°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#142A61
RGBrgb(20, 42, 97)
HSLhsl(223, 66%, 23%)
HSVhsv(223, 79%, 38%)
CMYKcmyk(79.4%, 56.7%, 0%, 62%)
CIE-LABlab(18.66, 13.28, -35.19)
CIE-LCHlch(18.66, 37.61, 290.68°)
OKLaboklab(30.35% -0.0096 -0.1013)
OKLCHoklch(30.35% 0.102 264.6)
XYZxyz(3.2734, 2.6674, 11.6493)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A61 #614B14
analogous
#145061 #142A61 #241461
triadic
#142A61 #61142A #2A6114
tetradic
#142A61 #611450 #614B14 #146124
square
#142A61 #611450 #614B14 #146124
split-complementary
#142A61 #612414 #506114
monochromatic
#050B19 #0A142E #142A61 #1E4094 #2956C6

Accessibility & contrast

On white

13.69
#142A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A61
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A61#FFFFFF#000000##FFFFFF
##142A611.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033163
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142a61;
/* rgb */ color: rgb(20, 42, 97);
/* oklch */ color: oklch(30.4% 0.102 264.6);
Tailwind
colors: {
  custom: {
    50: '#5e638e',
    500: '#142a61',
    950: '#000000',
  },
}
SCSS
$custom: #142a61;
$custom-light: #5e638e;
$custom-dark: #000000;
JSON
{
  "hex": "#142a61",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 97
  },
  "hsl": {
    "h": 222.857,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30352,
    "c": 0.10177,
    "h": 264.6
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#142A61
secondary
#987D38
accent
#B83FE9
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142A61

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

Preview Lab → · Contrast checker → · Palette generator →

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