#142B64#142B64

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

Color values

HEX#142B64
RGBrgb(20, 43, 100)
HSLhsl(223, 67%, 24%)
HSVhsv(223, 80%, 39%)
CMYKcmyk(80%, 57%, 0%, 60.8%)
CIE-LABlab(19.21, 13.82, -36.27)
CIE-LCHlch(19.21, 38.81, 290.86°)
OKLaboklab(30.85% -0.0102 -0.1045)
OKLCHoklch(30.85% 0.105 264.4)
XYZxyz(3.4518, 2.7962, 12.4119)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B64 #644D14
analogous
#145364 #142B64 #251464
triadic
#142B64 #64142B #2B6414
tetradic
#142B64 #641453 #644D14 #146425
square
#142B64 #641453 #644D14 #146425
split-complementary
#142B64 #642514 #536414
monochromatic
#050B1A #0A1531 #142B64 #1E4197 #2857CA

Accessibility & contrast

On white

13.47
#142B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142B64
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B64#FFFFFF#000000##FFFFFF
##142B641.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013266
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142b64;
/* rgb */ color: rgb(20, 43, 100);
/* oklch */ color: oklch(30.8% 0.105 264.4);
Tailwind
colors: {
  custom: {
    50: '#5f6391',
    500: '#142b64',
    950: '#000000',
  },
}
SCSS
$custom: #142b64;
$custom-light: #5f6391;
$custom-dark: #000000;
JSON
{
  "hex": "#142b64",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 100
  },
  "hsl": {
    "h": 222.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30845,
    "c": 0.10498,
    "h": 264.4
  },
  "luminance": 0.02797
}

Semantic roles & 50–950 ramp

primary
#142B64
secondary
#9B7F38
accent
#B83EEA
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #142B64

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

Preview Lab → · Contrast checker → · Palette generator →

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