#142145#142145

#142145 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.070 H 266.6°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#142145
RGBrgb(20, 33, 69)
HSLhsl(224, 55%, 17%)
HSVhsv(224, 71%, 27%)
CMYKcmyk(71%, 52.2%, 0%, 72.9%)
CIE-LABlab(13.63, 8.15, -24.39)
CIE-LCHlch(13.63, 25.71, 288.47°)
OKLaboklab(25.83% -0.0041 -0.0697)
OKLCHoklch(25.83% 0.07 266.6)
XYZxyz(1.9062, 1.6659, 5.8502)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142145 #453814
analogous
#143945 #142145 #201445
triadic
#142145 #451421 #214514
tetradic
#142145 #451439 #453814 #144520
square
#142145 #451439 #453814 #144520
split-complementary
#142145 #452014 #394514
monochromatic
#070B18 #070B18 #142145 #223874 #304EA4

Accessibility & contrast

On white

15.75
#142145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#142145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142145
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142145#FFFFFF#000000##FFFFFF
##1421451.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2546
Deuteranopia (green-blind)
#072144
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #142145;
/* rgb */ color: rgb(20, 33, 69);
/* oklch */ color: oklch(25.8% 0.070 266.6);
Tailwind
colors: {
  custom: {
    50: '#585b79',
    500: '#142145',
    950: '#000000',
  },
}
SCSS
$custom: #142145;
$custom-light: #585b79;
$custom-dark: #000000;
JSON
{
  "hex": "#142145",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 224.082,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25828,
    "c": 0.06983,
    "h": 266.6
  },
  "luminance": 0.01666
}

Semantic roles & 50–950 ramp

primary
#142145
secondary
#7D6B38
accent
#B749DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #142145

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

Preview Lab → · Contrast checker → · Palette generator →

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