#142B5E#142B5E

#142B5E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.096 H 263.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#142B5E
RGBrgb(20, 43, 94)
HSLhsl(221, 65%, 22%)
HSVhsv(221, 79%, 37%)
CMYKcmyk(78.7%, 54.3%, 0%, 63.1%)
CIE-LABlab(18.73, 11.27, -33.09)
CIE-LCHlch(18.73, 34.96, 288.81°)
OKLaboklab(30.33% -0.0109 -0.0951)
OKLCHoklch(30.33% 0.096 263.5)
XYZxyz(3.1720, 2.6843, 10.9384)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B5E #5E4714
analogous
#14505E #142B5E #22145E
triadic
#142B5E #5E142B #2B5E14
tetradic
#142B5E #5E1450 #5E4714 #145E22
square
#142B5E #5E1450 #5E4714 #145E22
split-complementary
#142B5E #5E2214 #505E14
monochromatic
#050C19 #09142C #142B5E #1F4290 #2959C3

Accessibility & contrast

On white

13.66
#142B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#142B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B5E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B5E#FFFFFF#000000##FFFFFF
##142B5E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3160
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142b5e;
/* rgb */ color: rgb(20, 43, 94);
/* oklch */ color: oklch(30.3% 0.096 263.5);
Tailwind
colors: {
  custom: {
    50: '#5d638c',
    500: '#142b5e',
    950: '#000000',
  },
}
SCSS
$custom: #142b5e;
$custom-light: #5d638c;
$custom-dark: #000000;
JSON
{
  "hex": "#142b5e",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 221.351,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30332,
    "c": 0.09575,
    "h": 263.5
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#142B5E
secondary
#967938
accent
#B440E8
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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