#142245#142245

#142245 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.068 H 265.5°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#142245
RGBrgb(20, 34, 69)
HSLhsl(223, 55%, 17%)
HSVhsv(223, 71%, 27%)
CMYKcmyk(71%, 50.7%, 0%, 72.9%)
CIE-LABlab(13.96, 7.39, -23.86)
CIE-LCHlch(13.96, 24.98, 287.20°)
OKLaboklab(26.08% -0.0053 -0.0681)
OKLCHoklch(26.08% 0.068 265.5)
XYZxyz(1.9343, 1.7223, 5.8596)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142245 #453714
analogous
#143B45 #142245 #1E1445
triadic
#142245 #451422 #224514
tetradic
#142245 #45143B #453714 #14451E
square
#142245 #45143B #453714 #14451E
split-complementary
#142245 #451E14 #3B4514
monochromatic
#070C18 #070C18 #142245 #223974 #3051A4

Accessibility & contrast

On white

15.62
#142245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#142245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142245
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142245#FFFFFF#000000##FFFFFF
##1422451.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112646
Deuteranopia (green-blind)
#092144
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #142245;
/* rgb */ color: rgb(20, 34, 69);
/* oklch */ color: oklch(26.1% 0.068 265.5);
Tailwind
colors: {
  custom: {
    50: '#585c79',
    500: '#142245',
    950: '#000000',
  },
}
SCSS
$custom: #142245;
$custom-light: #585c79;
$custom-dark: #000000;
JSON
{
  "hex": "#142245",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 222.857,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26081,
    "c": 0.06835,
    "h": 265.5
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#142245
secondary
#7D6938
accent
#B449DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #142245

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

Preview Lab → · Contrast checker → · Palette generator →

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