#141C7D#141C7D

#141C7D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.159 H 269.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#141C7D
RGBrgb(20, 28, 125)
HSLhsl(235, 72%, 28%)
HSVhsv(235, 84%, 49%)
CMYKcmyk(84%, 77.6%, 0%, 51%)
CIE-LABlab(17.73, 34.18, -54.84)
CIE-LCHlch(17.73, 64.62, 301.93°)
OKLaboklab(30.51% -0.0023 -0.1589)
OKLCHoklch(30.51% 0.159 269.2)
XYZxyz(4.4041, 2.4594, 19.6406)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141C7D #7D7514
analogous
#14507D #141C7D #40147D
triadic
#141C7D #7D141C #1C7D14
tetradic
#141C7D #7D1450 #7D7514 #147D40
square
#141C7D #7D1450 #7D7514 #147D40
split-complementary
#141C7D #7D4014 #507D14
monochromatic
#04061A #0C1048 #141C7D #1C28B2 #2E3BDE

Accessibility & contrast

On white

14.08
#141C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#141C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141C7D
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141C7D#FFFFFF#000000##FFFFFF
##141C7D1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #141c7d;
/* rgb */ color: rgb(20, 28, 125);
/* oklch */ color: oklch(30.5% 0.159 269.2);
Tailwind
colors: {
  custom: {
    50: '#6859a4',
    500: '#141c7d',
    950: '#000000',
  },
}
SCSS
$custom: #141c7d;
$custom-light: #6859a4;
$custom-dark: #000000;
JSON
{
  "hex": "#141c7d",
  "rgb": {
    "r": 20,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 235.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.15892,
    "h": 269.2
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#141C7D
secondary
#B2A93A
accent
#E139EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #141C7D

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

Preview Lab → · Contrast checker → · Palette generator →

#141C7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva