#142E6C#142E6C

#142E6C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.113 H 264.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#142E6C
RGBrgb(20, 46, 108)
HSLhsl(222, 69%, 25%)
HSVhsv(222, 81%, 42%)
CMYKcmyk(81.5%, 57.4%, 0%, 57.6%)
CIE-LABlab(20.77, 15.01, -38.95)
CIE-LCHlch(20.77, 41.74, 291.08°)
OKLaboklab(32.23% -0.0119 -0.1123)
OKLCHoklch(32.23% 0.113 264)
XYZxyz(3.9713, 3.1850, 14.5899)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E6C #6C5214
analogous
#145A6C #142E6C #26146C
triadic
#142E6C #6C142E #2E6C14
tetradic
#142E6C #6C145A #6C5214 #146C26
square
#142E6C #6C145A #6C5214 #146C26
split-complementary
#142E6C #6C2614 #5A6C14
monochromatic
#050B1A #0A1838 #142E6C #1E44A0 #275AD3

Accessibility & contrast

On white

12.83
#142E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#142E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E6C
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E6C#FFFFFF#000000##FFFFFF
##142E6C1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142e6c;
/* rgb */ color: rgb(20, 46, 108);
/* oklch */ color: oklch(32.2% 0.113 264.0);
Tailwind
colors: {
  custom: {
    50: '#616697',
    500: '#142e6c',
    950: '#000000',
  },
}
SCSS
$custom: #142e6c;
$custom-light: #616697;
$custom-dark: #000000;
JSON
{
  "hex": "#142e6c",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 222.273,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32233,
    "c": 0.11293,
    "h": 264
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#142E6C
secondary
#A38439
accent
#B83CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #142E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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