#142F6D#142F6D

#142F6D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.113 H 263.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#142F6D
RGBrgb(20, 47, 109)
HSLhsl(222, 69%, 25%)
HSVhsv(222, 82%, 43%)
CMYKcmyk(81.7%, 56.9%, 0%, 57.3%)
CIE-LABlab(21.15, 14.70, -38.97)
CIE-LCHlch(21.15, 41.65, 290.67°)
OKLaboklab(32.55% -0.0126 -0.1124)
OKLCHoklch(32.55% 0.113 263.6)
XYZxyz(4.0643, 3.2854, 14.8850)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F6D #6D5214
analogous
#145B6D #142F6D #26146D
triadic
#142F6D #6D142F #2F6D14
tetradic
#142F6D #6D145B #6D5214 #146D26
square
#142F6D #6D145B #6D5214 #146D26
split-complementary
#142F6D #6D2614 #5B6D14
monochromatic
#050B1A #0B1939 #142F6D #1D45A1 #275CD4

Accessibility & contrast

On white

12.67
#142F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#142F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F6D
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F6D#FFFFFF#000000##FFFFFF
##142F6D1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142f6d;
/* rgb */ color: rgb(20, 47, 109);
/* oklch */ color: oklch(32.5% 0.113 263.6);
Tailwind
colors: {
  custom: {
    50: '#616797',
    500: '#142f6d',
    950: '#000000',
  },
}
SCSS
$custom: #142f6d;
$custom-light: #616797;
$custom-dark: #000000;
JSON
{
  "hex": "#142f6d",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 221.798,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32548,
    "c": 0.11307,
    "h": 263.6
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#142F6D
secondary
#A48339
accent
#B63CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #142F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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