#142C6D#142C6D

#142C6D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.117 H 265.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#142C6D
RGBrgb(20, 44, 109)
HSLhsl(224, 69%, 25%)
HSVhsv(224, 82%, 43%)
CMYKcmyk(81.7%, 59.6%, 0%, 57.3%)
CIE-LABlab(20.26, 16.88, -40.43)
CIE-LCHlch(20.26, 43.81, 292.67°)
OKLaboklab(31.87% -0.0102 -0.1167)
OKLCHoklch(31.87% 0.117 265)
XYZxyz(3.9485, 3.0538, 14.8464)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C6D #6D5514
analogous
#14586D #142C6D #28146D
triadic
#142C6D #6D142C #2C6D14
tetradic
#142C6D #6D1458 #6D5514 #146D28
square
#142C6D #6D1458 #6D5514 #146D28
split-complementary
#142C6D #6D2814 #586D14
monochromatic
#050A1A #0B1739 #142C6D #1D41A1 #2756D4

Accessibility & contrast

On white

13.04
#142C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C6D
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C6D#FFFFFF#000000##FFFFFF
##142C6D1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142c6d;
/* rgb */ color: rgb(20, 44, 109);
/* oklch */ color: oklch(31.9% 0.117 265.0);
Tailwind
colors: {
  custom: {
    50: '#616497',
    500: '#142c6d',
    950: '#000000',
  },
}
SCSS
$custom: #142c6d;
$custom-light: #616497;
$custom-dark: #000000;
JSON
{
  "hex": "#142c6d",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 223.82,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31873,
    "c": 0.11714,
    "h": 265
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#142C6D
secondary
#A48739
accent
#BC3CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #142C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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