#142FB5#142FB5

#142FB5 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.8% C 0.209 H 266.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#142FB5
RGBrgb(20, 47, 181)
HSLhsl(230, 80%, 39%)
HSVhsv(230, 89%, 71%)
CMYKcmyk(89%, 74%, 0%, 29%)
CIE-LABlab(28.16, 42.86, -72.02)
CIE-LCHlch(28.16, 83.81, 300.75°)
OKLaboklab(39.82% -0.0145 -0.2089)
OKLCHoklch(39.82% 0.209 266)
XYZxyz(9.6426, 5.5167, 44.2637)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142FB5 #B59A14
analogous
#1480B5 #142FB5 #4A14B5
triadic
#142FB5 #B5142F #2FB514
tetradic
#142FB5 #B51480 #B59A14 #14B54A
square
#142FB5 #B51480 #B59A14 #14B54A
split-complementary
#142FB5 #B54A14 #80B514
monochromatic
#081247 #0E217E #142FB5 #2041E6 #5770EC

Accessibility & contrast

On white

9.98
#142FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#142FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142FB5
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142FB5#FFFFFF#000000##FFFFFF
##142FB51.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003AB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #142fb5;
/* rgb */ color: rgb(20, 47, 181);
/* oklch */ color: oklch(39.8% 0.209 266.0);
Tailwind
colors: {
  custom: {
    50: '#7668cd',
    500: '#142fb5',
    950: '#000000',
  },
}
SCSS
$custom: #142fb5;
$custom-light: #7668cd;
$custom-dark: #000000;
JSON
{
  "hex": "#142fb5",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 229.938,
    "s": 80.1,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39816,
    "c": 0.20939,
    "h": 266
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#142FB5
secondary
#CFBB56
accent
#D531F7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #142FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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