#142F61#142F61

#142F61 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.095 H 261.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#142F61
RGBrgb(20, 47, 97)
HSLhsl(219, 66%, 23%)
HSVhsv(219, 79%, 38%)
CMYKcmyk(79.4%, 51.5%, 0%, 62%)
CIE-LABlab(20.22, 9.62, -32.67)
CIE-LCHlch(20.22, 34.05, 286.40°)
OKLaboklab(31.54% -0.0142 -0.0938)
OKLCHoklch(31.54% 0.095 261.4)
XYZxyz(3.4619, 3.0444, 11.7121)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F61 #614614
analogous
#145561 #142F61 #1F1461
triadic
#142F61 #61142F #2F6114
tetradic
#142F61 #611455 #614614 #14611F
square
#142F61 #611455 #614614 #14611F
split-complementary
#142F61 #611F14 #556114
monochromatic
#050C19 #0A162E #142F61 #1E4894 #2960C6

Accessibility & contrast

On white

13.05
#142F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142F61
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F61#FFFFFF#000000##FFFFFF
##142F611.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133563
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142f61;
/* rgb */ color: rgb(20, 47, 97);
/* oklch */ color: oklch(31.5% 0.095 261.4);
Tailwind
colors: {
  custom: {
    50: '#5e678e',
    500: '#142f61',
    950: '#000000',
  },
}
SCSS
$custom: #142f61;
$custom-light: #5e678e;
$custom-dark: #000000;
JSON
{
  "hex": "#142f61",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 218.961,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31542,
    "c": 0.09486,
    "h": 261.4
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#142F61
secondary
#987738
accent
#AD3FE9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #142F61

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

Preview Lab → · Contrast checker → · Palette generator →

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