#141874#141874

#141874 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.151 H 270.2°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#141874
RGBrgb(20, 24, 116)
HSLhsl(238, 71%, 27%)
HSVhsv(238, 83%, 45%)
CMYKcmyk(82.8%, 79.3%, 0%, 54.5%)
CIE-LABlab(15.81, 33.34, -52.25)
CIE-LCHlch(15.81, 61.98, 302.54°)
OKLaboklab(28.84% 0.0006 -0.1513)
OKLCHoklch(28.84% 0.151 270.2)
XYZxyz(3.7664, 2.0625, 16.7192)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141874 #747014
analogous
#144874 #141874 #401474
triadic
#141874 #741418 #187414
tetradic
#141874 #741448 #747014 #147440
square
#141874 #741448 #747014 #147440
split-complementary
#141874 #744014 #487414
monochromatic
#05051A #0B0D40 #141874 #1D23A8 #2830DA

Accessibility & contrast

On white

14.87
#141874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#141874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141874
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141874#FFFFFF#000000##FFFFFF
##1418741.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141874;
/* rgb */ color: rgb(20, 24, 116);
/* oklch */ color: oklch(28.8% 0.151 270.2);
Tailwind
colors: {
  custom: {
    50: '#65569d',
    500: '#141874',
    950: '#000000',
  },
}
SCSS
$custom: #141874;
$custom-light: #65569d;
$custom-dark: #000000;
JSON
{
  "hex": "#141874",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 237.5,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28837,
    "c": 0.15133,
    "h": 270.2
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#141874
secondary
#AAA53A
accent
#E63AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #141874

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

Preview Lab → · Contrast checker → · Palette generator →

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