#142865#142865

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

Color values

HEX#142865
RGBrgb(20, 40, 101)
HSLhsl(225, 67%, 24%)
HSVhsv(225, 80%, 40%)
CMYKcmyk(80.2%, 60.4%, 0%, 60.4%)
CIE-LABlab(18.39, 16.44, -38.26)
CIE-LCHlch(18.39, 41.64, 293.26°)
OKLaboklab(30.25% -0.0076 -0.1104)
OKLCHoklch(30.25% 0.111 266.1)
XYZxyz(3.3954, 2.6055, 12.6334)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142865 #655114
analogous
#145065 #142865 #281465
triadic
#142865 #651428 #286514
tetradic
#142865 #651450 #655114 #146528
square
#142865 #651450 #655114 #146528
split-complementary
#142865 #652814 #506514
monochromatic
#050A1A #0A1432 #142865 #1E3C98 #2850CB

Accessibility & contrast

On white

13.80
#142865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142865
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142865#FFFFFF#000000##FFFFFF
##1428651.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142865;
/* rgb */ color: rgb(20, 40, 101);
/* oklch */ color: oklch(30.3% 0.111 266.1);
Tailwind
colors: {
  custom: {
    50: '#606191',
    500: '#142865',
    950: '#000000',
  },
}
SCSS
$custom: #142865;
$custom-light: #606191;
$custom-dark: #000000;
JSON
{
  "hex": "#142865",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 225.185,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30254,
    "c": 0.11064,
    "h": 266.1
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#142865
secondary
#9C8439
accent
#BF3EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142865

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

Preview Lab → · Contrast checker → · Palette generator →

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