#142E5C#142E5C

#142E5C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.088 H 260.8°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#142E5C
RGBrgb(20, 46, 92)
HSLhsl(218, 64%, 22%)
HSVhsv(218, 78%, 36%)
CMYKcmyk(78.3%, 50%, 0%, 63.9%)
CIE-LABlab(19.54, 8.22, -30.47)
CIE-LCHlch(19.54, 31.56, 285.09°)
OKLaboklab(30.9% -0.0141 -0.0874)
OKLCHoklch(30.9% 0.089 260.8)
XYZxyz(3.1966, 2.8751, 10.5096)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E5C #5C4214
analogous
#14525C #142E5C #1E145C
triadic
#142E5C #5C142E #2E5C14
tetradic
#142E5C #5C1452 #5C4214 #145C1E
square
#142E5C #5C1452 #5C4214 #145C1E
split-complementary
#142E5C #5C1E14 #525C14
monochromatic
#050D19 #09152A #142E5C #1F478E #2A60C1

Accessibility & contrast

On white

13.33
#142E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#142E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E5C
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E5C#FFFFFF#000000##FFFFFF
##142E5C1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335E
Deuteranopia (green-blind)
#062C5B
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142e5c;
/* rgb */ color: rgb(20, 46, 92);
/* oklch */ color: oklch(30.9% 0.088 260.8);
Tailwind
colors: {
  custom: {
    50: '#5d668a',
    500: '#142e5c',
    950: '#000000',
  },
}
SCSS
$custom: #142e5c;
$custom-light: #5d668a;
$custom-dark: #000000;
JSON
{
  "hex": "#142e5c",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 218.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.309,
    "c": 0.0885,
    "h": 260.8
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#142E5C
secondary
#947338
accent
#AB41E7
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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