#142C6B#142C6B

#142C6B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.114 H 264.8°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#142C6B
RGBrgb(20, 44, 107)
HSLhsl(223, 69%, 25%)
HSVhsv(223, 81%, 42%)
CMYKcmyk(81.3%, 58.9%, 0%, 58%)
CIE-LABlab(20.09, 16.04, -39.41)
CIE-LCHlch(20.09, 42.55, 292.15°)
OKLaboklab(31.69% -0.0104 -0.1137)
OKLCHoklch(31.69% 0.114 264.8)
XYZxyz(3.8421, 3.0112, 14.2858)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C6B #6B5314
analogous
#14586B #142C6B #27146B
triadic
#142C6B #6B142C #2C6B14
tetradic
#142C6B #6B1458 #6B5314 #146B27
square
#142C6B #6B1458 #6B5314 #146B27
split-complementary
#142C6B #6B2714 #586B14
monochromatic
#050B1A #0A1737 #142C6B #1E419F #2756D2

Accessibility & contrast

On white

13.11
#142C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#142C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C6B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C6B#FFFFFF#000000##FFFFFF
##142C6B1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142c6b;
/* rgb */ color: rgb(20, 44, 107);
/* oklch */ color: oklch(31.7% 0.114 264.8);
Tailwind
colors: {
  custom: {
    50: '#616496',
    500: '#142c6b',
    950: '#000000',
  },
}
SCSS
$custom: #142c6b;
$custom-light: #616496;
$custom-dark: #000000;
JSON
{
  "hex": "#142c6b",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 107
  },
  "hsl": {
    "h": 223.448,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31693,
    "c": 0.11416,
    "h": 264.8
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#142C6B
secondary
#A28539
accent
#BB3CEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #142C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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