#142276#142276

#142276 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.143 H 268.4°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#142276
RGBrgb(20, 34, 118)
HSLhsl(231, 71%, 27%)
HSVhsv(231, 83%, 46%)
CMYKcmyk(83.1%, 71.2%, 0%, 53.7%)
CIE-LABlab(18.37, 27.64, -49.32)
CIE-LCHlch(18.37, 56.54, 299.27°)
OKLaboklab(30.74% -0.004 -0.1429)
OKLCHoklch(30.74% 0.143 268.4)
XYZxyz(4.1294, 2.6003, 17.4203)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142276 #766814
analogous
#145376 #142276 #371476
triadic
#142276 #761422 #227614
tetradic
#142276 #761453 #766814 #147637
square
#142276 #761453 #766814 #147637
split-complementary
#142276 #763714 #537614
monochromatic
#04081A #0B1342 #142276 #1D31AA #2A43DB

Accessibility & contrast

On white

13.81
#142276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142276
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142276#FFFFFF#000000##FFFFFF
##1422761.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142276;
/* rgb */ color: rgb(20, 34, 118);
/* oklch */ color: oklch(30.7% 0.143 268.4);
Tailwind
colors: {
  custom: {
    50: '#655d9e',
    500: '#142276',
    950: '#000000',
  },
}
SCSS
$custom: #142276;
$custom-light: #655d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#142276",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 231.429,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30736,
    "c": 0.14292,
    "h": 268.4
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#142276
secondary
#AC9C3A
accent
#D43AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #142276

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

Preview Lab → · Contrast checker → · Palette generator →

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