#142B63#142B63

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

Color values

HEX#142B63
RGBrgb(20, 43, 99)
HSLhsl(223, 66%, 23%)
HSVhsv(223, 80%, 39%)
CMYKcmyk(79.8%, 56.6%, 0%, 61.2%)
CIE-LABlab(19.13, 13.39, -35.74)
CIE-LCHlch(19.13, 38.17, 290.54°)
OKLaboklab(30.76% -0.0103 -0.1029)
OKLCHoklch(30.76% 0.103 264.3)
XYZxyz(3.4037, 2.7770, 12.1586)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B63 #634C14
analogous
#145263 #142B63 #241463
triadic
#142B63 #63142B #2B6314
tetradic
#142B63 #631452 #634C14 #146324
square
#142B63 #631452 #634C14 #146324
split-complementary
#142B63 #632414 #526314
monochromatic
#050B19 #0A1530 #142B63 #1E4196 #2957C9

Accessibility & contrast

On white

13.50
#142B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142B63
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B63#FFFFFF#000000##FFFFFF
##142B631.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033265
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142b63;
/* rgb */ color: rgb(20, 43, 99);
/* oklch */ color: oklch(30.8% 0.103 264.3);
Tailwind
colors: {
  custom: {
    50: '#5f6390',
    500: '#142b63',
    950: '#000000',
  },
}
SCSS
$custom: #142b63;
$custom-light: #5f6390;
$custom-dark: #000000;
JSON
{
  "hex": "#142b63",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 222.532,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30758,
    "c": 0.10345,
    "h": 264.3
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#142B63
secondary
#9A7E38
accent
#B83EE9
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142B63

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

Preview Lab → · Contrast checker → · Palette generator →

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