#1A147E#1A147E

#1A147E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.166 H 272.4°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#1A147E
RGBrgb(26, 20, 126)
HSLhsl(243, 73%, 29%)
HSVhsv(243, 84%, 49%)
CMYKcmyk(79.4%, 84.1%, 0%, 50.6%)
CIE-LABlab(16.63, 39.44, -57.30)
CIE-LCHlch(16.63, 69.56, 304.54°)
OKLaboklab(29.86% 0.007 -0.1658)
OKLCHoklch(29.86% 0.166 272.4)
XYZxyz(4.4408, 2.2258, 19.9302)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A147E #787E14
analogous
#14437E #1A147E #4F147E
triadic
#1A147E #7E1A14 #147E1A
tetradic
#1A147E #7E1443 #787E14 #147E4F
square
#1A147E #7E1443 #787E14 #147E4F
split-complementary
#1A147E #7E4F14 #437E14
monochromatic
#05041A #0F0C49 #1A147E #251CB3 #382EDE

Accessibility & contrast

On white

14.53
#1A147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A147E
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A147E#FFFFFF#000000##FFFFFF
##1A147E1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a147e;
/* rgb */ color: rgb(26, 20, 126);
/* oklch */ color: oklch(29.9% 0.166 272.4);
Tailwind
colors: {
  custom: {
    50: '#6b55a5',
    500: '#1a147e',
    950: '#000000',
  },
}
SCSS
$custom: #1a147e;
$custom-light: #6b55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a147e",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 243.396,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29864,
    "c": 0.16594,
    "h": 272.4
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A147E

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

Preview Lab → · Contrast checker → · Palette generator →

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