#142B4E#142B4E

#142B4E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.070 H 258.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#142B4E
RGBrgb(20, 43, 78)
HSLhsl(216, 59%, 19%)
HSVhsv(216, 74%, 31%)
CMYKcmyk(74.4%, 44.9%, 0%, 69.4%)
CIE-LABlab(17.58, 4.48, -24.23)
CIE-LCHlch(17.58, 24.65, 280.48°)
OKLaboklab(29.08% -0.0139 -0.0691)
OKLCHoklch(29.08% 0.07 258.6)
XYZxyz(2.5270, 2.4263, 7.5414)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B4E #4E3714
analogous
#14484E #142B4E #1A144E
triadic
#142B4E #4E142B #2B4E14
tetradic
#142B4E #4E1448 #4E3714 #144E1A
square
#142B4E #4E1448 #4E3714 #144E1A
split-complementary
#142B4E #4E1A14 #484E14
monochromatic
#060D18 #08101D #142B4E #20467F #2D61AF

Accessibility & contrast

On white

14.14
#142B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#142B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B4E
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B4E#FFFFFF#000000##FFFFFF
##142B4E1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#12294D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142b4e;
/* rgb */ color: rgb(20, 43, 78);
/* oklch */ color: oklch(29.1% 0.070 258.6);
Tailwind
colors: {
  custom: {
    50: '#596380',
    500: '#142b4e',
    950: '#000000',
  },
}
SCSS
$custom: #142b4e;
$custom-light: #596380;
$custom-dark: #000000;
JSON
{
  "hex": "#142b4e",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 216.207,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29078,
    "c": 0.07048,
    "h": 258.6
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#142B4E
secondary
#866738
accent
#A445E2
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #142B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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