#142C5B#142C5B

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

Color values

HEX#142C5B
RGBrgb(20, 44, 91)
HSLhsl(220, 64%, 22%)
HSVhsv(220, 78%, 36%)
CMYKcmyk(78%, 51.6%, 0%, 64.3%)
CIE-LABlab(18.82, 9.26, -30.96)
CIE-LCHlch(18.82, 32.31, 286.65°)
OKLaboklab(30.33% -0.0123 -0.0888)
OKLCHoklch(30.33% 0.09 262.1)
XYZxyz(3.0768, 2.7051, 10.2555)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C5B #5B4314
analogous
#14505B #142C5B #20145B
triadic
#142C5B #5B142C #2C5B14
tetradic
#142C5B #5B1450 #5B4314 #145B20
square
#142C5B #5B1450 #5B4314 #145B20
split-complementary
#142C5B #5B2014 #505B14
monochromatic
#060C19 #091429 #142C5B #1F448D #2A5DBF

Accessibility & contrast

On white

13.63
#142C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C5B
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C5B#FFFFFF#000000##FFFFFF
##142C5B1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12315D
Deuteranopia (green-blind)
#012B5A
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142c5b;
/* rgb */ color: rgb(20, 44, 91);
/* oklch */ color: oklch(30.3% 0.090 262.1);
Tailwind
colors: {
  custom: {
    50: '#5d648a',
    500: '#142c5b',
    950: '#000000',
  },
}
SCSS
$custom: #142c5b;
$custom-light: #5d648a;
$custom-dark: #000000;
JSON
{
  "hex": "#142c5b",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 91
  },
  "hsl": {
    "h": 219.718,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30328,
    "c": 0.08968,
    "h": 262.1
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#142C5B
secondary
#937438
accent
#AF41E7
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #142C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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