#142352#142352

#142352 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.088 H 267.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#142352
RGBrgb(20, 35, 82)
HSLhsl(225, 61%, 20%)
HSVhsv(225, 76%, 32%)
CMYKcmyk(75.6%, 57.3%, 0%, 67.8%)
CIE-LABlab(15.27, 12.13, -30.65)
CIE-LCHlch(15.27, 32.96, 291.59°)
OKLaboklab(27.4% -0.0045 -0.0881)
OKLCHoklch(27.4% 0.088 267.1)
XYZxyz(2.4120, 1.9597, 8.2322)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142352 #524314
analogous
#144252 #142352 #241452
triadic
#142352 #521423 #235214
tetradic
#142352 #521442 #524314 #145224
square
#142352 #521442 #524314 #145224
split-complementary
#142352 #522414 #425214
monochromatic
#060A19 #080E21 #142352 #203883 #2C4DB4

Accessibility & contrast

On white

15.09
#142352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#142352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142352
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142352#FFFFFF#000000##FFFFFF
##1423521.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052954
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #142352;
/* rgb */ color: rgb(20, 35, 82);
/* oklch */ color: oklch(27.4% 0.088 267.1);
Tailwind
colors: {
  custom: {
    50: '#5b5d83',
    500: '#142352',
    950: '#000000',
  },
}
SCSS
$custom: #142352;
$custom-light: #5b5d83;
$custom-dark: #000000;
JSON
{
  "hex": "#142352",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 225.484,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.27404,
    "c": 0.08821,
    "h": 267.1
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#142352
secondary
#8A7638
accent
#BD44E4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #142352

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

Preview Lab → · Contrast checker → · Palette generator →

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