#1A147C#1A147C

#1A147C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.163 H 272.6°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#1A147C
RGBrgb(26, 20, 124)
HSLhsl(243, 72%, 28%)
HSVhsv(243, 84%, 49%)
CMYKcmyk(79%, 83.9%, 0%, 51.4%)
CIE-LABlab(16.38, 38.78, -56.44)
CIE-LCHlch(16.38, 68.48, 304.49°)
OKLaboklab(29.62% 0.0075 -0.1633)
OKLCHoklch(29.62% 0.163 272.6)
XYZxyz(4.3130, 2.1747, 19.2573)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A147C #767C14
analogous
#14427C #1A147C #4E147C
triadic
#1A147C #7C1A14 #147C1A
tetradic
#1A147C #7C1442 #767C14 #147C4E
square
#1A147C #7C1442 #767C14 #147C4E
split-complementary
#1A147C #7C4E14 #427C14
monochromatic
#06041A #0F0B47 #1A147C #251DB1 #372DDD

Accessibility & contrast

On white

14.63
#1A147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1A147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A147C
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A147C#FFFFFF#000000##FFFFFF
##1A147C1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a147c;
/* rgb */ color: rgb(26, 20, 124);
/* oklch */ color: oklch(29.6% 0.163 272.6);
Tailwind
colors: {
  custom: {
    50: '#6a55a3',
    500: '#1a147c',
    950: '#000000',
  },
}
SCSS
$custom: #1a147c;
$custom-light: #6a55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a147c",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 243.462,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29617,
    "c": 0.16347,
    "h": 272.6
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A147C

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

Preview Lab → · Contrast checker → · Palette generator →

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