#142246#142246

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

Color values

HEX#142246
RGBrgb(20, 34, 70)
HSLhsl(223, 56%, 18%)
HSVhsv(223, 71%, 27%)
CMYKcmyk(71.4%, 51.4%, 0%, 72.5%)
CIE-LABlab(14.03, 7.81, -24.44)
CIE-LCHlch(14.03, 25.65, 287.72°)
OKLaboklab(26.16% -0.0051 -0.0698)
OKLCHoklch(26.16% 0.07 265.8)
XYZxyz(1.9656, 1.7348, 6.0244)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142246 #463814
analogous
#143B46 #142246 #1F1446
triadic
#142246 #461422 #224614
tetradic
#142246 #46143B #463814 #14461F
square
#142246 #46143B #463814 #14461F
split-complementary
#142246 #461F14 #3B4614
monochromatic
#070C18 #070C18 #142246 #223976 #2F50A5

Accessibility & contrast

On white

15.59
#142246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142246
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142246#FFFFFF#000000##FFFFFF
##1422461.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142246;
/* rgb */ color: rgb(20, 34, 70);
/* oklch */ color: oklch(26.2% 0.070 265.8);
Tailwind
colors: {
  custom: {
    50: '#585c7a',
    500: '#142246',
    950: '#000000',
  },
}
SCSS
$custom: #142246;
$custom-light: #585c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#142246",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 70
  },
  "hsl": {
    "h": 223.2,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2616,
    "c": 0.07003,
    "h": 265.8
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#142246
secondary
#7E6A38
accent
#B549DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #142246

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

Preview Lab → · Contrast checker → · Palette generator →

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