#142C64#142C64

#142C64 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.104 H 263.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#142C64
RGBrgb(20, 44, 100)
HSLhsl(222, 67%, 24%)
HSVhsv(222, 80%, 39%)
CMYKcmyk(80%, 56%, 0%, 60.8%)
CIE-LABlab(19.51, 13.08, -35.77)
CIE-LCHlch(19.51, 38.09, 290.09°)
OKLaboklab(31.08% -0.011 -0.103)
OKLCHoklch(31.08% 0.104 263.9)
XYZxyz(3.4886, 2.8698, 12.4242)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C64 #644C14
analogous
#145464 #142C64 #241464
triadic
#142C64 #64142C #2C6414
tetradic
#142C64 #641454 #644C14 #146424
square
#142C64 #641454 #644C14 #146424
split-complementary
#142C64 #642414 #546414
monochromatic
#050B1A #0A1631 #142C64 #1E4297 #2859CA

Accessibility & contrast

On white

13.34
#142C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#142C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C64
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C64#FFFFFF#000000##FFFFFF
##142C641.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053366
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142c64;
/* rgb */ color: rgb(20, 44, 100);
/* oklch */ color: oklch(31.1% 0.104 263.9);
Tailwind
colors: {
  custom: {
    50: '#5f6491',
    500: '#142c64',
    950: '#000000',
  },
}
SCSS
$custom: #142c64;
$custom-light: #5f6491;
$custom-dark: #000000;
JSON
{
  "hex": "#142c64",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 222,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31077,
    "c": 0.1036,
    "h": 263.9
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#142C64
secondary
#9B7E38
accent
#B63EEA
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #142C64

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

Preview Lab → · Contrast checker → · Palette generator →

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