#142B62#142B62

#142B62 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.102 H 264.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#142B62
RGBrgb(20, 43, 98)
HSLhsl(222, 66%, 23%)
HSVhsv(222, 80%, 38%)
CMYKcmyk(79.6%, 56.1%, 0%, 61.6%)
CIE-LABlab(19.05, 12.97, -35.22)
CIE-LCHlch(19.05, 37.53, 290.22°)
OKLaboklab(30.67% -0.0104 -0.1014)
OKLCHoklch(30.67% 0.102 264.2)
XYZxyz(3.3562, 2.7579, 11.9084)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B62 #624B14
analogous
#145262 #142B62 #241462
triadic
#142B62 #62142B #2B6214
tetradic
#142B62 #621452 #624B14 #146224
square
#142B62 #621452 #624B14 #146224
split-complementary
#142B62 #622414 #526214
monochromatic
#050B19 #0A152F #142B62 #1E4195 #2958C8

Accessibility & contrast

On white

13.53
#142B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B62
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B62#FFFFFF#000000##FFFFFF
##142B621.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053264
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142b62;
/* rgb */ color: rgb(20, 43, 98);
/* oklch */ color: oklch(30.7% 0.102 264.2);
Tailwind
colors: {
  custom: {
    50: '#5e638f',
    500: '#142b62',
    950: '#000000',
  },
}
SCSS
$custom: #142b62;
$custom-light: #5e638f;
$custom-dark: #000000;
JSON
{
  "hex": "#142b62",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 222.308,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30672,
    "c": 0.10192,
    "h": 264.2
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#142B62
secondary
#997D38
accent
#B73FE9
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142B62

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

Preview Lab → · Contrast checker → · Palette generator →

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