#142A68#142A68

#142A68 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.112 H 265.4°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#142A68
RGBrgb(20, 42, 104)
HSLhsl(224, 68%, 24%)
HSVhsv(224, 81%, 41%)
CMYKcmyk(80.8%, 59.6%, 0%, 59.2%)
CIE-LABlab(19.24, 16.24, -38.83)
CIE-LCHlch(19.24, 42.09, 292.70°)
OKLaboklab(30.97% -0.009 -0.112)
OKLCHoklch(30.97% 0.112 265.4)
XYZxyz(3.6143, 2.8037, 13.4447)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A68 #685214
analogous
#145468 #142A68 #281468
triadic
#142A68 #68142A #2A6814
tetradic
#142A68 #681454 #685214 #146828
square
#142A68 #681454 #685214 #146828
split-complementary
#142A68 #682814 #546814
monochromatic
#050A1A #0A1535 #142A68 #1E3F9B #2853CF

Accessibility & contrast

On white

13.45
#142A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A68
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A68#FFFFFF#000000##FFFFFF
##142A681.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142a68;
/* rgb */ color: rgb(20, 42, 104);
/* oklch */ color: oklch(31.0% 0.112 265.4);
Tailwind
colors: {
  custom: {
    50: '#606394',
    500: '#142a68',
    950: '#000000',
  },
}
SCSS
$custom: #142a68;
$custom-light: #606394;
$custom-dark: #000000;
JSON
{
  "hex": "#142a68",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 224.286,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30974,
    "c": 0.1124,
    "h": 265.4
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#142A68
secondary
#9F8439
accent
#BD3DEB
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142A68

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

Preview Lab → · Contrast checker → · Palette generator →

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