#141A7E#141A7E

#141A7E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.162 H 269.3°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#141A7E
RGBrgb(20, 26, 126)
HSLhsl(237, 73%, 29%)
HSVhsv(237, 84%, 49%)
CMYKcmyk(84.1%, 79.4%, 0%, 50.6%)
CIE-LABlab(17.43, 35.75, -55.98)
CIE-LCHlch(17.43, 66.42, 302.56°)
OKLaboklab(30.33% -0.0019 -0.1622)
OKLCHoklch(30.33% 0.162 269.3)
XYZxyz(4.4225, 2.3933, 19.9635)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141A7E #7E7814
analogous
#144F7E #141A7E #43147E
triadic
#141A7E #7E141A #1A7E14
tetradic
#141A7E #7E144F #7E7814 #147E43
square
#141A7E #7E144F #7E7814 #147E43
split-complementary
#141A7E #7E4314 #4F7E14
monochromatic
#04051A #0C0F49 #141A7E #1C25B3 #2E38DE

Accessibility & contrast

On white

14.20
#141A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#141A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141A7E
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141A7E#FFFFFF#000000##FFFFFF
##141A7E1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #141a7e;
/* rgb */ color: rgb(20, 26, 126);
/* oklch */ color: oklch(30.3% 0.162 269.3);
Tailwind
colors: {
  custom: {
    50: '#6858a5',
    500: '#141a7e',
    950: '#000000',
  },
}
SCSS
$custom: #141a7e;
$custom-light: #6858a5;
$custom-dark: #000000;
JSON
{
  "hex": "#141a7e",
  "rgb": {
    "r": 20,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 236.604,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30332,
    "c": 0.1622,
    "h": 269.3
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#141A7E
secondary
#B3AC3A
accent
#E538EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #141A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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