#142B7C#142B7C

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

Color values

HEX#142B7C
RGBrgb(20, 43, 124)
HSLhsl(227, 72%, 28%)
HSVhsv(227, 84%, 49%)
CMYKcmyk(83.9%, 65.3%, 0%, 51.4%)
CIE-LABlab(21.32, 23.80, -48.30)
CIE-LCHlch(21.32, 53.84, 296.23°)
OKLaboklab(33.09% -0.0092 -0.1398)
OKLCHoklch(33.09% 0.14 266.2)
XYZxyz(4.7892, 3.3311, 19.4554)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B7C #7C6514
analogous
#145F7C #142B7C #31147C
triadic
#142B7C #7C142B #2B7C14
tetradic
#142B7C #7C145F #7C6514 #147C31
square
#142B7C #7C145F #7C6514 #147C31
split-complementary
#142B7C #7C3114 #5F7C14
monochromatic
#04091A #0B1947 #142B7C #1D3DB1 #2D54DD

Accessibility & contrast

On white

12.60
#142B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#142B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B7C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B7C#FFFFFF#000000##FFFFFF
##142B7C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142b7c;
/* rgb */ color: rgb(20, 43, 124);
/* oklch */ color: oklch(33.1% 0.140 266.2);
Tailwind
colors: {
  custom: {
    50: '#6664a3',
    500: '#142b7c',
    950: '#000000',
  },
}
SCSS
$custom: #142b7c;
$custom-light: #6664a3;
$custom-dark: #000000;
JSON
{
  "hex": "#142b7c",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 226.731,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33087,
    "c": 0.1401,
    "h": 266.2
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#142B7C
secondary
#B2973A
accent
#C739EF
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #142B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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