#142B61#142B61

#142B61 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.100 H 264.0°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#142B61
RGBrgb(20, 43, 97)
HSLhsl(222, 66%, 23%)
HSVhsv(222, 79%, 38%)
CMYKcmyk(79.4%, 55.7%, 0%, 62%)
CIE-LABlab(18.97, 12.55, -34.69)
CIE-LCHlch(18.97, 36.89, 289.88°)
OKLaboklab(30.59% -0.0105 -0.0998)
OKLCHoklch(30.59% 0.1 264)
XYZxyz(3.3093, 2.7392, 11.6613)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B61 #614A14
analogous
#145161 #142B61 #231461
triadic
#142B61 #61142B #2B6114
tetradic
#142B61 #611451 #614A14 #146123
square
#142B61 #611451 #614A14 #146123
split-complementary
#142B61 #612314 #516114
monochromatic
#050B19 #0A152E #142B61 #1E4194 #2958C6

Accessibility & contrast

On white

13.57
#142B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B61
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B61#FFFFFF#000000##FFFFFF
##142B611.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073263
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142b61;
/* rgb */ color: rgb(20, 43, 97);
/* oklch */ color: oklch(30.6% 0.100 264.0);
Tailwind
colors: {
  custom: {
    50: '#5e638e',
    500: '#142b61',
    950: '#000000',
  },
}
SCSS
$custom: #142b61;
$custom-light: #5e638e;
$custom-dark: #000000;
JSON
{
  "hex": "#142b61",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 97
  },
  "hsl": {
    "h": 222.078,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30586,
    "c": 0.10039,
    "h": 264
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#142B61
secondary
#987C38
accent
#B63FE9
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142B61

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

Preview Lab → · Contrast checker → · Palette generator →

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