#142C65#142C65

#142C65 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.105 H 264.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#142C65
RGBrgb(20, 44, 101)
HSLhsl(222, 67%, 24%)
HSVhsv(222, 80%, 40%)
CMYKcmyk(80.2%, 56.4%, 0%, 60.4%)
CIE-LABlab(19.59, 13.51, -36.30)
CIE-LCHlch(19.59, 38.73, 290.41°)
OKLaboklab(31.16% -0.0109 -0.1045)
OKLCHoklch(31.16% 0.105 264)
XYZxyz(3.5373, 2.8893, 12.6807)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C65 #654D14
analogous
#145465 #142C65 #241465
triadic
#142C65 #65142C #2C6514
tetradic
#142C65 #651454 #654D14 #146524
square
#142C65 #651454 #654D14 #146524
split-complementary
#142C65 #652414 #546514
monochromatic
#050B1A #0A1632 #142C65 #1E4298 #2859CB

Accessibility & contrast

On white

13.31
#142C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#142C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C65
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C65#FFFFFF#000000##FFFFFF
##142C651.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033367
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142c65;
/* rgb */ color: rgb(20, 44, 101);
/* oklch */ color: oklch(31.2% 0.105 264.0);
Tailwind
colors: {
  custom: {
    50: '#5f6491',
    500: '#142c65',
    950: '#000000',
  },
}
SCSS
$custom: #142c65;
$custom-light: #5f6491;
$custom-dark: #000000;
JSON
{
  "hex": "#142c65",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 101
  },
  "hsl": {
    "h": 222.222,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31163,
    "c": 0.10512,
    "h": 264
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#142C65
secondary
#9C7F39
accent
#B73EEA
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #142C65

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

Preview Lab → · Contrast checker → · Palette generator →

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