#142866#142866

#142866 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.112 H 266.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#142866
RGBrgb(20, 40, 102)
HSLhsl(225, 67%, 24%)
HSVhsv(225, 80%, 40%)
CMYKcmyk(80.4%, 60.8%, 0%, 60%)
CIE-LABlab(18.48, 16.86, -38.77)
CIE-LCHlch(18.48, 42.28, 293.51°)
OKLaboklab(30.35% -0.0075 -0.1119)
OKLCHoklch(30.35% 0.112 266.1)
XYZxyz(3.4447, 2.6252, 12.8930)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142866 #665214
analogous
#145166 #142866 #291466
triadic
#142866 #661428 #286614
tetradic
#142866 #661451 #665214 #146629
square
#142866 #661451 #665214 #146629
split-complementary
#142866 #662914 #516614
monochromatic
#050A1A #0A1433 #142866 #1E3C99 #2850CC

Accessibility & contrast

On white

13.77
#142866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142866
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142866#FFFFFF#000000##FFFFFF
##1428661.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142866;
/* rgb */ color: rgb(20, 40, 102);
/* oklch */ color: oklch(30.3% 0.112 266.1);
Tailwind
colors: {
  custom: {
    50: '#606192',
    500: '#142866',
    950: '#000000',
  },
}
SCSS
$custom: #142866;
$custom-light: #606192;
$custom-dark: #000000;
JSON
{
  "hex": "#142866",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 225.366,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30346,
    "c": 0.11214,
    "h": 266.1
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#142866
secondary
#9D8539
accent
#C03EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142866

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

Preview Lab → · Contrast checker → · Palette generator →

#142866 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva