#1A147A#1A147A

#1A147A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.161 H 272.9°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#1A147A
RGBrgb(26, 20, 122)
HSLhsl(244, 72%, 28%)
HSVhsv(244, 84%, 48%)
CMYKcmyk(78.7%, 83.6%, 0%, 52.2%)
CIE-LABlab(16.13, 38.12, -55.58)
CIE-LCHlch(16.13, 67.39, 304.44°)
OKLaboklab(29.37% 0.008 -0.1608)
OKLCHoklch(29.37% 0.161 272.9)
XYZxyz(4.1878, 2.1246, 18.5980)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A147A #747A14
analogous
#14417A #1A147A #4D147A
triadic
#1A147A #7A1A14 #147A1A
tetradic
#1A147A #7A1441 #747A14 #147A4D
square
#1A147A #7A1441 #747A14 #147A4D
split-complementary
#1A147A #7A4D14 #417A14
monochromatic
#06041A #0F0B45 #1A147A #251DAF #362CDC

Accessibility & contrast

On white

14.74
#1A147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A147A
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A147A#FFFFFF#000000##FFFFFF
##1A147A1.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002378
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a147a;
/* rgb */ color: rgb(26, 20, 122);
/* oklch */ color: oklch(29.4% 0.161 272.9);
Tailwind
colors: {
  custom: {
    50: '#6955a2',
    500: '#1a147a',
    950: '#000000',
  },
}
SCSS
$custom: #1a147a;
$custom-light: #6955a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a147a",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 243.529,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.2937,
    "c": 0.161,
    "h": 272.9
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#1A147A
secondary
#A9B03A
accent
#EF39E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A147A

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

Preview Lab → · Contrast checker → · Palette generator →

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