#142B8E#142B8E

#142B8E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.165 H 266.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#142B8E
RGBrgb(20, 43, 142)
HSLhsl(229, 75%, 32%)
HSVhsv(229, 86%, 56%)
CMYKcmyk(85.9%, 69.7%, 0%, 44.3%)
CIE-LABlab(23.10, 30.93, -56.68)
CIE-LCHlch(23.10, 64.57, 298.62°)
OKLaboklab(34.93% -0.01 -0.1643)
OKLCHoklch(34.93% 0.165 266.5)
XYZxyz(6.0331, 3.8287, 26.0070)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B8E #8E7714
analogous
#14688E #142B8E #3A148E
triadic
#142B8E #8E142B #2B8E14
tetradic
#142B8E #8E1468 #8E7714 #148E3A
square
#142B8E #8E1468 #8E7714 #148E3A
split-complementary
#142B8E #8E3A14 #688E14
monochromatic
#050B23 #0C1B58 #142B8E #1C3BC4 #3959E3

Accessibility & contrast

On white

11.89
#142B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#142B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B8E
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B8E#FFFFFF#000000##FFFFFF
##142B8E1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #142b8e;
/* rgb */ color: rgb(20, 43, 142);
/* oklch */ color: oklch(34.9% 0.165 266.5);
Tailwind
colors: {
  custom: {
    50: '#6b64b0',
    500: '#142b8e',
    950: '#000000',
  },
}
SCSS
$custom: #142b8e;
$custom-light: #6b64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#142b8e",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 228.689,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34928,
    "c": 0.16458,
    "h": 266.5
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#142B8E
secondary
#C2A93C
accent
#CE36F2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #142B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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