#142241#142241

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

Color values

HEX#142241
RGBrgb(20, 34, 65)
HSLhsl(221, 53%, 17%)
HSVhsv(221, 69%, 25%)
CMYKcmyk(69.2%, 47.7%, 0%, 74.5%)
CIE-LABlab(13.68, 5.71, -21.53)
CIE-LCHlch(13.68, 22.27, 284.87°)
OKLaboklab(25.77% -0.0062 -0.0613)
OKLCHoklch(25.77% 0.062 264.2)
XYZxyz(1.8143, 1.6743, 5.2276)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142241 #413314
analogous
#143941 #142241 #1D1441
triadic
#142241 #411422 #224114
tetradic
#142241 #411439 #413314 #14411D
square
#142241 #411439 #413314 #14411D
split-complementary
#142241 #411D14 #394114
monochromatic
#070C17 #070C17 #142241 #223A70 #31539F

Accessibility & contrast

On white

15.73
#142241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142241
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142241#FFFFFF#000000##FFFFFF
##1422411.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142542
Deuteranopia (green-blind)
#0E2140
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #142241;
/* rgb */ color: rgb(20, 34, 65);
/* oklch */ color: oklch(25.8% 0.062 264.2);
Tailwind
colors: {
  custom: {
    50: '#575c76',
    500: '#142241',
    950: '#000000',
  },
}
SCSS
$custom: #142241;
$custom-light: #575c76;
$custom-dark: #000000;
JSON
{
  "hex": "#142241",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 65
  },
  "hsl": {
    "h": 221.333,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25774,
    "c": 0.0616,
    "h": 264.2
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#142241
secondary
#796538
accent
#AF4BDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #142241

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

Preview Lab → · Contrast checker → · Palette generator →

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