#142F6F#142F6F

#142F6F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.116 H 263.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#142F6F
RGBrgb(20, 47, 111)
HSLhsl(222, 69%, 26%)
HSVhsv(222, 82%, 44%)
CMYKcmyk(82%, 57.7%, 0%, 56.5%)
CIE-LABlab(21.32, 15.55, -40.00)
CIE-LCHlch(21.32, 42.91, 291.24°)
OKLaboklab(32.72% -0.0124 -0.1154)
OKLCHoklch(32.72% 0.116 263.9)
XYZxyz(4.1732, 3.3290, 15.4585)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F6F #6F5414
analogous
#145C6F #142F6F #26146F
triadic
#142F6F #6F142F #2F6F14
tetradic
#142F6F #6F145C #6F5414 #146F26
square
#142F6F #6F145C #6F5414 #146F26
split-complementary
#142F6F #6F2614 #5C6F14
monochromatic
#050B1A #0B193B #142F6F #1D45A3 #275BD7

Accessibility & contrast

On white

12.61
#142F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#142F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F6F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F6F#FFFFFF#000000##FFFFFF
##142F6F1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142f6f;
/* rgb */ color: rgb(20, 47, 111);
/* oklch */ color: oklch(32.7% 0.116 263.9);
Tailwind
colors: {
  custom: {
    50: '#626799',
    500: '#142f6f',
    950: '#000000',
  },
}
SCSS
$custom: #142f6f;
$custom-light: #626799;
$custom-dark: #000000;
JSON
{
  "hex": "#142f6f",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 222.198,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32724,
    "c": 0.11604,
    "h": 263.9
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#142F6F
secondary
#A68539
accent
#B83CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #142F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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