#142F6B#142F6B

#142F6B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.110 H 263.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#142F6B
RGBrgb(20, 47, 107)
HSLhsl(221, 69%, 25%)
HSVhsv(221, 81%, 42%)
CMYKcmyk(81.3%, 56.1%, 0%, 58%)
CIE-LABlab(20.99, 13.86, -37.94)
CIE-LCHlch(20.99, 40.39, 290.07°)
OKLaboklab(32.38% -0.0128 -0.1093)
OKLCHoklch(32.38% 0.11 263.3)
XYZxyz(3.9579, 3.2428, 14.3244)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F6B #6B5014
analogous
#145B6B #142F6B #24146B
triadic
#142F6B #6B142F #2F6B14
tetradic
#142F6B #6B145B #6B5014 #146B24
square
#142F6B #6B145B #6B5014 #146B24
split-complementary
#142F6B #6B2414 #5B6B14
monochromatic
#050B1A #0A1837 #142F6B #1E469F #275CD2

Accessibility & contrast

On white

12.74
#142F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#142F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F6B
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F6B#FFFFFF#000000##FFFFFF
##142F6B1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376D
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142f6b;
/* rgb */ color: rgb(20, 47, 107);
/* oklch */ color: oklch(32.4% 0.110 263.3);
Tailwind
colors: {
  custom: {
    50: '#616796',
    500: '#142f6b',
    950: '#000000',
  },
}
SCSS
$custom: #142f6b;
$custom-light: #616796;
$custom-dark: #000000;
JSON
{
  "hex": "#142f6b",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 221.379,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32375,
    "c": 0.11007,
    "h": 263.3
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#142F6B
secondary
#A28139
accent
#B53CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #142F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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