#142253#142253

#142253 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.091 H 267.8°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#142253
RGBrgb(20, 34, 83)
HSLhsl(227, 61%, 20%)
HSVhsv(227, 76%, 33%)
CMYKcmyk(75.9%, 59%, 0%, 67.5%)
CIE-LABlab(15.05, 13.30, -31.70)
CIE-LCHlch(15.05, 34.37, 292.77°)
OKLaboklab(27.26% -0.0034 -0.0912)
OKLCHoklch(27.26% 0.091 267.8)
XYZxyz(2.4213, 1.9171, 8.4244)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142253 #534514
analogous
#144153 #142253 #261453
triadic
#142253 #531422 #225314
tetradic
#142253 #531441 #534514 #145326
square
#142253 #531441 #534514 #145326
split-complementary
#142253 #532614 #415314
monochromatic
#060A19 #080E22 #142253 #203684 #2C4AB6

Accessibility & contrast

On white

15.18
#142253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#142253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142253
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142253#FFFFFF#000000##FFFFFF
##1422531.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142253;
/* rgb */ color: rgb(20, 34, 83);
/* oklch */ color: oklch(27.3% 0.091 267.8);
Tailwind
colors: {
  custom: {
    50: '#5b5c84',
    500: '#142253',
    950: '#000000',
  },
}
SCSS
$custom: #142253;
$custom-light: #5b5c84;
$custom-dark: #000000;
JSON
{
  "hex": "#142253",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 226.667,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27257,
    "c": 0.09125,
    "h": 267.8
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#142253
secondary
#8B7938
accent
#C144E4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #142253

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

Preview Lab → · Contrast checker → · Palette generator →

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