#142D6A#142D6A

#142D6A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.111 H 264.2°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#142D6A
RGBrgb(20, 45, 106)
HSLhsl(223, 68%, 25%)
HSVhsv(223, 81%, 42%)
CMYKcmyk(81.1%, 57.5%, 0%, 58.4%)
CIE-LABlab(20.31, 14.89, -38.41)
CIE-LCHlch(20.31, 41.19, 291.20°)
OKLaboklab(31.83% -0.0113 -0.1107)
OKLCHoklch(31.83% 0.111 264.2)
XYZxyz(3.8275, 3.0657, 14.0229)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D6A #6A5114
analogous
#14586A #142D6A #26146A
triadic
#142D6A #6A142D #2D6A14
tetradic
#142D6A #6A1458 #6A5114 #146A26
square
#142D6A #6A1458 #6A5114 #146A26
split-complementary
#142D6A #6A2614 #586A14
monochromatic
#050B1A #0A1737 #142D6A #1E439D #2759D1

Accessibility & contrast

On white

13.02
#142D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D6A
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D6A#FFFFFF#000000##FFFFFF
##142D6A1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142d6a;
/* rgb */ color: rgb(20, 45, 106);
/* oklch */ color: oklch(31.8% 0.111 264.2);
Tailwind
colors: {
  custom: {
    50: '#616595',
    500: '#142d6a',
    950: '#000000',
  },
}
SCSS
$custom: #142d6a;
$custom-light: #616595;
$custom-dark: #000000;
JSON
{
  "hex": "#142d6a",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 222.558,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3183,
    "c": 0.1113,
    "h": 264.2
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#142D6A
secondary
#A18339
accent
#B83DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #142D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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