#142261#142261

#142261 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.113 H 268.5°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#142261
RGBrgb(20, 34, 97)
HSLhsl(229, 66%, 23%)
HSVhsv(229, 79%, 38%)
CMYKcmyk(79.4%, 64.9%, 0%, 62%)
CIE-LABlab(16.28, 19.17, -39.05)
CIE-LCHlch(16.28, 43.50, 296.14°)
OKLaboklab(28.57% -0.003 -0.1128)
OKLCHoklch(28.57% 0.113 268.5)
XYZxyz(3.0174, 2.1555, 11.5640)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142261 #615314
analogous
#144861 #142261 #2C1461
triadic
#142261 #611422 #226114
tetradic
#142261 #611448 #615314 #14612C
square
#142261 #611448 #615314 #14612C
split-complementary
#142261 #612C14 #486114
monochromatic
#050919 #0A102E #142261 #1E3494 #2946C6

Accessibility & contrast

On white

14.67
#142261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#142261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142261
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142261#FFFFFF#000000##FFFFFF
##1422611.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C63
Deuteranopia (green-blind)
#002560
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142261;
/* rgb */ color: rgb(20, 34, 97);
/* oklch */ color: oklch(28.6% 0.113 268.5);
Tailwind
colors: {
  custom: {
    50: '#5f5c8f',
    500: '#142261',
    950: '#000000',
  },
}
SCSS
$custom: #142261;
$custom-light: #5f5c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#142261",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 229.091,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2857,
    "c": 0.11285,
    "h": 268.5
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#142261
secondary
#988738
accent
#CA3FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #142261

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

Preview Lab → · Contrast checker → · Palette generator →

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