#142160#142160

#142160 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.113 H 268.9°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#142160
RGBrgb(20, 33, 96)
HSLhsl(230, 66%, 23%)
HSVhsv(230, 79%, 38%)
CMYKcmyk(79.2%, 65.6%, 0%, 62.4%)
CIE-LABlab(15.90, 19.49, -39.01)
CIE-LCHlch(15.90, 43.60, 296.54°)
OKLaboklab(28.26% -0.0022 -0.1127)
OKLCHoklch(28.26% 0.113 268.9)
XYZxyz(2.9429, 2.0806, 11.3106)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142160 #605314
analogous
#144760 #142160 #2D1460
triadic
#142160 #601421 #216014
tetradic
#142160 #601447 #605314 #14602D
square
#142160 #601447 #605314 #14602D
split-complementary
#142160 #602D14 #476014
monochromatic
#050919 #09102D #142160 #1F3293 #2944C5

Accessibility & contrast

On white

14.83
#142160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#142160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142160
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142160#FFFFFF#000000##FFFFFF
##1421601.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00245F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142160;
/* rgb */ color: rgb(20, 33, 96);
/* oklch */ color: oklch(28.3% 0.113 268.9);
Tailwind
colors: {
  custom: {
    50: '#5f5c8e',
    500: '#142160',
    950: '#000000',
  },
}
SCSS
$custom: #142160;
$custom-light: #5f5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#142160",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 229.737,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28261,
    "c": 0.11271,
    "h": 268.9
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#142160
secondary
#988738
accent
#CC3FE8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #142160

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

Preview Lab → · Contrast checker → · Palette generator →

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