#142B8F#142B8F

#142B8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.166 H 266.5°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#142B8F
RGBrgb(20, 43, 143)
HSLhsl(229, 75%, 32%)
HSVhsv(229, 86%, 56%)
CMYKcmyk(86%, 69.9%, 0%, 43.9%)
CIE-LABlab(23.20, 31.32, -57.13)
CIE-LCHlch(23.20, 65.15, 298.73°)
OKLaboklab(35.03% -0.01 -0.1656)
OKLCHoklch(35.03% 0.166 266.5)
XYZxyz(6.1086, 3.8589, 26.4042)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B8F #8F7814
analogous
#14698F #142B8F #3A148F
triadic
#142B8F #8F142B #2B8F14
tetradic
#142B8F #8F1469 #8F7814 #148F3A
square
#142B8F #8F1469 #8F7814 #148F3A
split-complementary
#142B8F #8F3A14 #698F14
monochromatic
#050B24 #0C1B59 #142B8F #1C3BC5 #3A5AE3

Accessibility & contrast

On white

11.85
#142B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142B8F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B8F#FFFFFF#000000##FFFFFF
##142B8F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #142b8f;
/* rgb */ color: rgb(20, 43, 143);
/* oklch */ color: oklch(35.0% 0.166 266.5);
Tailwind
colors: {
  custom: {
    50: '#6b64b1',
    500: '#142b8f',
    950: '#000000',
  },
}
SCSS
$custom: #142b8f;
$custom-light: #6b64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#142b8f",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 228.78,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35034,
    "c": 0.1659,
    "h": 266.5
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#142B8F
secondary
#C3AA3C
accent
#CF36F2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #142B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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