#142E7B#142E7B

#142E7B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.135 H 265.3°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#142E7B
RGBrgb(20, 46, 123)
HSLhsl(225, 72%, 28%)
HSVhsv(225, 84%, 48%)
CMYKcmyk(83.7%, 62.6%, 0%, 51.8%)
CIE-LABlab(22.06, 21.27, -46.46)
CIE-LCHlch(22.06, 51.09, 294.60°)
OKLaboklab(33.61% -0.0111 -0.1344)
OKLCHoklch(33.61% 0.135 265.3)
XYZxyz(4.8394, 3.5322, 19.1618)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E7B #7B6114
analogous
#14617B #142E7B #2D147B
triadic
#142E7B #7B142E #2E7B14
tetradic
#142E7B #7B1461 #7B6114 #147B2D
square
#142E7B #7B1461 #7B6114 #147B2D
split-complementary
#142E7B #7B2D14 #617B14
monochromatic
#040A1A #0B1A46 #142E7B #1D42B0 #2D59DD

Accessibility & contrast

On white

12.31
#142E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#142E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E7B
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E7B#FFFFFF#000000##FFFFFF
##142E7B1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #142e7b;
/* rgb */ color: rgb(20, 46, 123);
/* oklch */ color: oklch(33.6% 0.135 265.3);
Tailwind
colors: {
  custom: {
    50: '#6566a2',
    500: '#142e7b',
    950: '#000000',
  },
}
SCSS
$custom: #142e7b;
$custom-light: #6566a2;
$custom-dark: #000000;
JSON
{
  "hex": "#142e7b",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 224.854,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33606,
    "c": 0.13482,
    "h": 265.3
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#142E7B
secondary
#B1933A
accent
#C139EF
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #142E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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