#142E5F#142E5F

#142E5F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.093 H 261.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#142E5F
RGBrgb(20, 46, 95)
HSLhsl(219, 65%, 23%)
HSVhsv(219, 79%, 37%)
CMYKcmyk(78.9%, 51.6%, 0%, 62.7%)
CIE-LABlab(19.76, 9.49, -32.10)
CIE-LCHlch(19.76, 33.48, 286.48°)
OKLaboklab(31.14% -0.0135 -0.0922)
OKLCHoklch(31.14% 0.093 261.6)
XYZxyz(3.3303, 2.9286, 11.2140)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E5F #5F4514
analogous
#14535F #142E5F #20145F
triadic
#142E5F #5F142E #2E5F14
tetradic
#142E5F #5F1453 #5F4514 #145F20
square
#142E5F #5F1453 #5F4514 #145F20
split-complementary
#142E5F #5F2014 #535F14
monochromatic
#050C19 #09162C #142E5F #1F4692 #295FC4

Accessibility & contrast

On white

13.24
#142E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E5F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E5F#FFFFFF#000000##FFFFFF
##142E5F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133361
Deuteranopia (green-blind)
#002D5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142e5f;
/* rgb */ color: rgb(20, 46, 95);
/* oklch */ color: oklch(31.1% 0.093 261.6);
Tailwind
colors: {
  custom: {
    50: '#5d668d',
    500: '#142e5f',
    950: '#000000',
  },
}
SCSS
$custom: #142e5f;
$custom-light: #5d668d;
$custom-dark: #000000;
JSON
{
  "hex": "#142e5f",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 219.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31138,
    "c": 0.09315,
    "h": 261.6
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#142E5F
secondary
#977638
accent
#AE40E8
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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