#142D6B#142D6B

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

Color values

HEX#142D6B
RGBrgb(20, 45, 107)
HSLhsl(223, 69%, 25%)
HSVhsv(223, 81%, 42%)
CMYKcmyk(81.3%, 57.9%, 0%, 58%)
CIE-LABlab(20.39, 15.32, -38.92)
CIE-LCHlch(20.39, 41.83, 291.48°)
OKLaboklab(31.92% -0.0112 -0.1122)
OKLCHoklch(31.92% 0.113 264.3)
XYZxyz(3.8798, 3.0866, 14.2984)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D6B #6B5214
analogous
#14586B #142D6B #27146B
triadic
#142D6B #6B142D #2D6B14
tetradic
#142D6B #6B1458 #6B5214 #146B27
square
#142D6B #6B1458 #6B5214 #146B27
split-complementary
#142D6B #6B2714 #586B14
monochromatic
#050B1A #0A1737 #142D6B #1E439F #2758D2

Accessibility & contrast

On white

12.98
#142D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#142D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D6B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D6B#FFFFFF#000000##FFFFFF
##142D6B1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142d6b;
/* rgb */ color: rgb(20, 45, 107);
/* oklch */ color: oklch(31.9% 0.113 264.3);
Tailwind
colors: {
  custom: {
    50: '#616596',
    500: '#142d6b',
    950: '#000000',
  },
}
SCSS
$custom: #142d6b;
$custom-light: #616596;
$custom-dark: #000000;
JSON
{
  "hex": "#142d6b",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 107
  },
  "hsl": {
    "h": 222.759,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31918,
    "c": 0.1128,
    "h": 264.3
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#142D6B
secondary
#A28439
accent
#B93CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #142D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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