#1A147F#1A147F

#1A147F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.167 H 272.3°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#1A147F
RGBrgb(26, 20, 127)
HSLhsl(243, 73%, 29%)
HSVhsv(243, 84%, 50%)
CMYKcmyk(79.5%, 84.3%, 0%, 50.2%)
CIE-LABlab(16.76, 39.77, -57.73)
CIE-LCHlch(16.76, 70.10, 304.56°)
OKLaboklab(29.99% 0.0067 -0.167)
OKLCHoklch(29.99% 0.167 272.3)
XYZxyz(4.5056, 2.2517, 20.2717)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A147F #797F14
analogous
#14447F #1A147F #50147F
triadic
#1A147F #7F1A14 #147F1A
tetradic
#1A147F #7F1444 #797F14 #147F50
square
#1A147F #7F1444 #797F14 #147F50
split-complementary
#1A147F #7F5014 #447F14
monochromatic
#05041A #0F0C4A #1A147F #251CB4 #392FDE

Accessibility & contrast

On white

14.48
#1A147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1A147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A147F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A147F#FFFFFF#000000##FFFFFF
##1A147F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a147f;
/* rgb */ color: rgb(26, 20, 127);
/* oklch */ color: oklch(30.0% 0.167 272.3);
Tailwind
colors: {
  custom: {
    50: '#6b55a5',
    500: '#1a147f',
    950: '#000000',
  },
}
SCSS
$custom: #1a147f;
$custom-light: #6b55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a147f",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 243.364,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29988,
    "c": 0.16717,
    "h": 272.3
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#1A147F
secondary
#ADB43B
accent
#EF38E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1A147F

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

Preview Lab → · Contrast checker → · Palette generator →

#1A147F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva