#14126C#14126C

#14126C is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.147 H 271.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#14126C
RGBrgb(20, 18, 108)
HSLhsl(241, 71%, 25%)
HSVhsv(241, 83%, 42%)
CMYKcmyk(81.5%, 83.3%, 0%, 57.6%)
CIE-LABlab(13.61, 33.99, -50.69)
CIE-LCHlch(13.61, 61.03, 303.84°)
OKLaboklab(27% 0.0044 -0.1467)
OKLCHoklch(27% 0.147 271.7)
XYZxyz(3.2107, 1.6637, 14.3364)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14126C #6A6C12
analogous
#123D6C #14126C #41126C
triadic
#14126C #6C1412 #126C14
tetradic
#14126C #6C123D #6A6C12 #126C41
square
#14126C #6C123D #6A6C12 #126C41
split-complementary
#14126C #6C4112 #3D6C12
monochromatic
#05041A #0A0938 #14126C #1E1BA0 #2723D5

Accessibility & contrast

On white

15.76
#14126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#14126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14126C
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14126C#FFFFFF#000000##FFFFFF
##14126C1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276E
Deuteranopia (green-blind)
#001E6A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #14126c;
/* rgb */ color: rgb(20, 18, 108);
/* oklch */ color: oklch(27.0% 0.147 271.7);
Tailwind
colors: {
  custom: {
    50: '#645297',
    500: '#14126c',
    950: '#000000',
  },
}
SCSS
$custom: #14126c;
$custom-light: #645297;
$custom-dark: #000000;
JSON
{
  "hex": "#14126c",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 241.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27004,
    "c": 0.1468,
    "h": 271.7
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#14126C
secondary
#A1A336
accent
#EE3AEA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020E
muted
#7A787E

Preview Lab

Preview with #14126C

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

Preview Lab → · Contrast checker → · Palette generator →

#14126C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva