#142466#142466

#142466 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.118 H 267.8°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#142466
RGBrgb(20, 36, 102)
HSLhsl(228, 67%, 24%)
HSVhsv(228, 80%, 40%)
CMYKcmyk(80.4%, 64.7%, 0%, 60%)
CIE-LABlab(17.32, 19.78, -40.66)
CIE-LCHlch(17.32, 45.22, 295.94°)
OKLaboklab(29.48% -0.0045 -0.1175)
OKLCHoklch(29.48% 0.118 267.8)
XYZxyz(3.3168, 2.3694, 12.8503)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142466 #665614
analogous
#144D66 #142466 #2D1466
triadic
#142466 #661424 #246614
tetradic
#142466 #66144D #665614 #14662D
square
#142466 #66144D #665614 #14662D
split-complementary
#142466 #662D14 #4D6614
monochromatic
#05091A #0A1233 #142466 #1E3699 #2848CC

Accessibility & contrast

On white

14.25
#142466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#142466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142466
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142466#FFFFFF#000000##FFFFFF
##1424661.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142466;
/* rgb */ color: rgb(20, 36, 102);
/* oklch */ color: oklch(29.5% 0.118 267.8);
Tailwind
colors: {
  custom: {
    50: '#605e92',
    500: '#142466',
    950: '#000000',
  },
}
SCSS
$custom: #142466;
$custom-light: #605e92;
$custom-dark: #000000;
JSON
{
  "hex": "#142466",
  "rgb": {
    "r": 20,
    "g": 36,
    "b": 102
  },
  "hsl": {
    "h": 228.293,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29482,
    "c": 0.11759,
    "h": 267.8
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#142466
secondary
#9D8A39
accent
#C83EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #142466

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

Preview Lab → · Contrast checker → · Palette generator →

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