#141774#141774

#141774 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.152 H 270.4°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#141774
RGBrgb(20, 23, 116)
HSLhsl(238, 71%, 27%)
HSVhsv(238, 83%, 45%)
CMYKcmyk(82.8%, 80.2%, 0%, 54.5%)
CIE-LABlab(15.60, 33.94, -52.60)
CIE-LCHlch(15.60, 62.60, 302.83°)
OKLaboklab(28.69% 0.001 -0.1523)
OKLCHoklch(28.69% 0.152 270.4)
XYZxyz(3.7462, 2.0220, 16.7125)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141774 #747114
analogous
#144774 #141774 #411474
triadic
#141774 #741417 #177414
tetradic
#141774 #741447 #747114 #147441
square
#141774 #741447 #747114 #147441
split-complementary
#141774 #744114 #477414
monochromatic
#05051A #0B0D40 #141774 #1D21A8 #282EDA

Accessibility & contrast

On white

14.95
#141774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#141774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141774
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141774#FFFFFF#000000##FFFFFF
##1417741.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #141774;
/* rgb */ color: rgb(20, 23, 116);
/* oklch */ color: oklch(28.7% 0.152 270.4);
Tailwind
colors: {
  custom: {
    50: '#66559d',
    500: '#141774',
    950: '#000000',
  },
}
SCSS
$custom: #141774;
$custom-light: #66559d;
$custom-dark: #000000;
JSON
{
  "hex": "#141774",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 238.125,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28689,
    "c": 0.15233,
    "h": 270.4
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#141774
secondary
#AAA73A
accent
#E83AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #141774

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

Preview Lab → · Contrast checker → · Palette generator →

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