#142C6E#142C6E

#142C6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.119 H 265.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#142C6E
RGBrgb(20, 44, 110)
HSLhsl(224, 69%, 25%)
HSVhsv(224, 82%, 43%)
CMYKcmyk(81.8%, 60%, 0%, 56.9%)
CIE-LABlab(20.34, 17.30, -40.93)
CIE-LCHlch(20.34, 44.44, 292.92°)
OKLaboklab(31.96% -0.0102 -0.1182)
OKLCHoklch(31.96% 0.119 265.1)
XYZxyz(4.0027, 3.0754, 15.1315)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C6E #6E5614
analogous
#14596E #142C6E #29146E
triadic
#142C6E #6E142C #2C6E14
tetradic
#142C6E #6E1459 #6E5614 #146E29
square
#142C6E #6E1459 #6E5614 #146E29
split-complementary
#142C6E #6E2914 #596E14
monochromatic
#050A1A #0B173A #142C6E #1D41A2 #2755D6

Accessibility & contrast

On white

13.00
#142C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#142C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C6E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C6E#FFFFFF#000000##FFFFFF
##142C6E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142c6e;
/* rgb */ color: rgb(20, 44, 110);
/* oklch */ color: oklch(32.0% 0.119 265.1);
Tailwind
colors: {
  custom: {
    50: '#626498',
    500: '#142c6e',
    950: '#000000',
  },
}
SCSS
$custom: #142c6e;
$custom-light: #626498;
$custom-dark: #000000;
JSON
{
  "hex": "#142c6e",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 224,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31964,
    "c": 0.11862,
    "h": 265.1
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#142C6E
secondary
#A58839
accent
#BD3CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142C6E

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

Preview Lab → · Contrast checker → · Palette generator →

#142C6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva