#142452#142452

#142452 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.087 H 266.3°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#142452
RGBrgb(20, 36, 82)
HSLhsl(225, 61%, 20%)
HSVhsv(225, 76%, 32%)
CMYKcmyk(75.6%, 56.1%, 0%, 67.8%)
CIE-LABlab(15.59, 11.38, -30.14)
CIE-LCHlch(15.59, 32.22, 290.68°)
OKLaboklab(27.64% -0.0055 -0.0866)
OKLCHoklch(27.64% 0.087 266.3)
XYZxyz(2.4418, 2.0194, 8.2421)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142452 #524214
analogous
#144352 #142452 #231452
triadic
#142452 #521424 #245214
tetradic
#142452 #521443 #524214 #145223
square
#142452 #521443 #524214 #145223
split-complementary
#142452 #522314 #435214
monochromatic
#060B19 #080E21 #142452 #203A83 #2C4FB4

Accessibility & contrast

On white

14.96
#142452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#142452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142452
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142452#FFFFFF#000000##FFFFFF
##1424521.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082A54
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142452;
/* rgb */ color: rgb(20, 36, 82);
/* oklch */ color: oklch(27.6% 0.087 266.3);
Tailwind
colors: {
  custom: {
    50: '#5b5e83',
    500: '#142452',
    950: '#000000',
  },
}
SCSS
$custom: #142452;
$custom-light: #5b5e83;
$custom-dark: #000000;
JSON
{
  "hex": "#142452",
  "rgb": {
    "r": 20,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 224.516,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.27642,
    "c": 0.08676,
    "h": 266.3
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#142452
secondary
#8A7538
accent
#BB44E4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #142452

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

Preview Lab → · Contrast checker → · Palette generator →

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