#142658#142658

#142658 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.093 H 265.8°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#142658
RGBrgb(20, 38, 88)
HSLhsl(224, 63%, 21%)
HSVhsv(224, 77%, 35%)
CMYKcmyk(77.3%, 56.8%, 0%, 65.5%)
CIE-LABlab(16.70, 12.43, -32.39)
CIE-LCHlch(16.70, 34.69, 290.99°)
OKLaboklab(28.63% -0.0068 -0.0932)
OKLCHoklch(28.63% 0.093 265.8)
XYZxyz(2.7424, 2.2392, 9.5183)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142658 #584614
analogous
#144858 #142658 #241458
triadic
#142658 #581426 #265814
tetradic
#142658 #581448 #584614 #145824
square
#142658 #581448 #584614 #145824
split-complementary
#142658 #582414 #485814
monochromatic
#060B19 #091026 #142658 #1F3C8A #2B51BC

Accessibility & contrast

On white

14.50
#142658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#142658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142658
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142658#FFFFFF#000000##FFFFFF
##1426581.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052D5A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142658;
/* rgb */ color: rgb(20, 38, 88);
/* oklch */ color: oklch(28.6% 0.093 265.8);
Tailwind
colors: {
  custom: {
    50: '#5c5f88',
    500: '#142658',
    950: '#000000',
  },
}
SCSS
$custom: #142658;
$custom-light: #5c5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#142658",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 224.118,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28634,
    "c": 0.09342,
    "h": 265.8
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#142658
secondary
#907938
accent
#BB42E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #142658

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

Preview Lab → · Contrast checker → · Palette generator →

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