#142867#142867

#142867 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.114 H 266.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#142867
RGBrgb(20, 40, 103)
HSLhsl(226, 67%, 24%)
HSVhsv(226, 81%, 40%)
CMYKcmyk(80.6%, 61.2%, 0%, 59.6%)
CIE-LABlab(18.56, 17.28, -39.28)
CIE-LCHlch(18.56, 42.92, 293.75°)
OKLaboklab(30.44% -0.0075 -0.1134)
OKLCHoklch(30.44% 0.114 266.2)
XYZxyz(3.4946, 2.6452, 13.1557)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142867 #675314
analogous
#145267 #142867 #2A1467
triadic
#142867 #671428 #286714
tetradic
#142867 #671452 #675314 #14672A
square
#142867 #671452 #675314 #14672A
split-complementary
#142867 #672A14 #526714
monochromatic
#050A1A #0A1434 #142867 #1E3C9A #2850CD

Accessibility & contrast

On white

13.73
#142867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142867
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142867#FFFFFF#000000##FFFFFF
##1428671.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142867;
/* rgb */ color: rgb(20, 40, 103);
/* oklch */ color: oklch(30.4% 0.114 266.2);
Tailwind
colors: {
  custom: {
    50: '#606193',
    500: '#142867',
    950: '#000000',
  },
}
SCSS
$custom: #142867;
$custom-light: #606193;
$custom-dark: #000000;
JSON
{
  "hex": "#142867",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 225.542,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30438,
    "c": 0.11365,
    "h": 266.2
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#142867
secondary
#9E8639
accent
#C13DEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142867

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

Preview Lab → · Contrast checker → · Palette generator →

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