#142961#142961

#142961 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.103 H 265.2°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#142961
RGBrgb(20, 41, 97)
HSLhsl(224, 66%, 23%)
HSVhsv(224, 79%, 38%)
CMYKcmyk(79.4%, 57.7%, 0%, 62%)
CIE-LABlab(18.35, 14.02, -35.68)
CIE-LCHlch(18.35, 38.34, 291.45°)
OKLaboklab(30.12% -0.0087 -0.1028)
OKLCHoklch(30.12% 0.103 265.2)
XYZxyz(3.2383, 2.5973, 11.6376)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142961 #614C14
analogous
#144F61 #142961 #251461
triadic
#142961 #611429 #296114
tetradic
#142961 #61144F #614C14 #146125
square
#142961 #61144F #614C14 #146125
split-complementary
#142961 #612514 #4F6114
monochromatic
#050B19 #0A142E #142961 #1E3E94 #2954C6

Accessibility & contrast

On white

13.82
#142961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142961 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142961
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142961#FFFFFF#000000##FFFFFF
##1429611.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#002960
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142961;
/* rgb */ color: rgb(20, 41, 97);
/* oklch */ color: oklch(30.1% 0.103 265.2);
Tailwind
colors: {
  custom: {
    50: '#5e628e',
    500: '#142961',
    950: '#000000',
  },
}
SCSS
$custom: #142961;
$custom-light: #5e628e;
$custom-dark: #000000;
JSON
{
  "hex": "#142961",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 97
  },
  "hsl": {
    "h": 223.636,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3012,
    "c": 0.10317,
    "h": 265.2
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#142961
secondary
#987E38
accent
#BA3FE9
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142961

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

Preview Lab → · Contrast checker → · Palette generator →

#142961 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva