#142F6C#142F6C

#142F6C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.112 H 263.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#142F6C
RGBrgb(20, 47, 108)
HSLhsl(222, 69%, 25%)
HSVhsv(222, 81%, 42%)
CMYKcmyk(81.5%, 56.5%, 0%, 57.6%)
CIE-LABlab(21.07, 14.28, -38.46)
CIE-LCHlch(21.07, 41.02, 290.37°)
OKLaboklab(32.46% -0.0127 -0.1108)
OKLCHoklch(32.46% 0.112 263.5)
XYZxyz(4.0108, 3.2640, 14.6031)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F6C #6C5114
analogous
#145B6C #142F6C #25146C
triadic
#142F6C #6C142F #2F6C14
tetradic
#142F6C #6C145B #6C5114 #146C25
square
#142F6C #6C145B #6C5114 #146C25
split-complementary
#142F6C #6C2514 #5B6C14
monochromatic
#050B1A #0A1938 #142F6C #1E45A0 #275CD3

Accessibility & contrast

On white

12.71
#142F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#142F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F6C
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F6C#FFFFFF#000000##FFFFFF
##142F6C1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01376E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142f6c;
/* rgb */ color: rgb(20, 47, 108);
/* oklch */ color: oklch(32.5% 0.112 263.5);
Tailwind
colors: {
  custom: {
    50: '#616797',
    500: '#142f6c',
    950: '#000000',
  },
}
SCSS
$custom: #142f6c;
$custom-light: #616797;
$custom-dark: #000000;
JSON
{
  "hex": "#142f6c",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 221.591,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32461,
    "c": 0.11157,
    "h": 263.5
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#142F6C
secondary
#A38239
accent
#B63CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #142F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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