#142F6E#142F6E

#142F6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.115 H 263.7°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#142F6E
RGBrgb(20, 47, 110)
HSLhsl(222, 69%, 25%)
HSVhsv(222, 82%, 43%)
CMYKcmyk(81.8%, 57.3%, 0%, 56.9%)
CIE-LABlab(21.23, 15.13, -39.49)
CIE-LCHlch(21.23, 42.28, 290.96°)
OKLaboklab(32.64% -0.0125 -0.1139)
OKLCHoklch(32.64% 0.115 263.7)
XYZxyz(4.1185, 3.3071, 15.1701)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F6E #6E5314
analogous
#145C6E #142F6E #26146E
triadic
#142F6E #6E142F #2F6E14
tetradic
#142F6E #6E145C #6E5314 #146E26
square
#142F6E #6E145C #6E5314 #146E26
split-complementary
#142F6E #6E2614 #5C6E14
monochromatic
#050B1A #0B193A #142F6E #1D45A2 #275BD6

Accessibility & contrast

On white

12.64
#142F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#142F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F6E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F6E#FFFFFF#000000##FFFFFF
##142F6E1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142f6e;
/* rgb */ color: rgb(20, 47, 110);
/* oklch */ color: oklch(32.6% 0.115 263.7);
Tailwind
colors: {
  custom: {
    50: '#616798',
    500: '#142f6e',
    950: '#000000',
  },
}
SCSS
$custom: #142f6e;
$custom-light: #616798;
$custom-dark: #000000;
JSON
{
  "hex": "#142f6e",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 222,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32636,
    "c": 0.11456,
    "h": 263.7
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#142F6E
secondary
#A58439
accent
#B73CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #142F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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