#142B7B#142B7B

#142B7B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.139 H 266.2°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#142B7B
RGBrgb(20, 43, 123)
HSLhsl(227, 72%, 28%)
HSVhsv(227, 84%, 48%)
CMYKcmyk(83.7%, 65%, 0%, 51.8%)
CIE-LABlab(21.23, 23.39, -47.82)
CIE-LCHlch(21.23, 53.23, 296.07°)
OKLaboklab(32.99% -0.0092 -0.1384)
OKLCHoklch(32.99% 0.139 266.2)
XYZxyz(4.7263, 3.3060, 19.1241)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B7B #7B6414
analogous
#145E7B #142B7B #30147B
triadic
#142B7B #7B142B #2B7B14
tetradic
#142B7B #7B145E #7B6414 #147B30
square
#142B7B #7B145E #7B6414 #147B30
split-complementary
#142B7B #7B3014 #5E7B14
monochromatic
#04091A #0B1946 #142B7B #1D3DB0 #2D54DD

Accessibility & contrast

On white

12.64
#142B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#142B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B7B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B7B#FFFFFF#000000##FFFFFF
##142B7B1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142b7b;
/* rgb */ color: rgb(20, 43, 123);
/* oklch */ color: oklch(33.0% 0.139 266.2);
Tailwind
colors: {
  custom: {
    50: '#6664a2',
    500: '#142b7b',
    950: '#000000',
  },
}
SCSS
$custom: #142b7b;
$custom-light: #6664a2;
$custom-dark: #000000;
JSON
{
  "hex": "#142b7b",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 226.602,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32988,
    "c": 0.13869,
    "h": 266.2
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#142B7B
secondary
#B1963A
accent
#C639EF
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #142B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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