#142247#142247

#142247 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.072 H 266.0°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#142247
RGBrgb(20, 34, 71)
HSLhsl(224, 56%, 18%)
HSVhsv(224, 72%, 28%)
CMYKcmyk(71.8%, 52.1%, 0%, 72.2%)
CIE-LABlab(14.10, 8.23, -25.01)
CIE-LCHlch(14.10, 26.33, 288.22°)
OKLaboklab(26.24% -0.005 -0.0715)
OKLCHoklch(26.24% 0.072 266)
XYZxyz(1.9975, 1.7475, 6.1921)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142247 #473914
analogous
#143B47 #142247 #1F1447
triadic
#142247 #471422 #224714
tetradic
#142247 #47143B #473914 #14471F
square
#142247 #47143B #473914 #14471F
split-complementary
#142247 #471F14 #3B4714
monochromatic
#070B18 #070B18 #142247 #213977 #2F50A6

Accessibility & contrast

On white

15.56
#142247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#142247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142247
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142247#FFFFFF#000000##FFFFFF
##1422471.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102648
Deuteranopia (green-blind)
#062246
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #142247;
/* rgb */ color: rgb(20, 34, 71);
/* oklch */ color: oklch(26.2% 0.072 266.0);
Tailwind
colors: {
  custom: {
    50: '#585c7a',
    500: '#142247',
    950: '#000000',
  },
}
SCSS
$custom: #142247;
$custom-light: #585c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#142247",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 223.529,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26239,
    "c": 0.0717,
    "h": 266
  },
  "luminance": 0.01748
}

Semantic roles & 50–950 ramp

primary
#142247
secondary
#7F6C38
accent
#B648DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #142247

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

Preview Lab → · Contrast checker → · Palette generator →

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