#1A147D#1A147D

#1A147D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.165 H 272.5°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#1A147D
RGBrgb(26, 20, 125)
HSLhsl(243, 72%, 28%)
HSVhsv(243, 84%, 49%)
CMYKcmyk(79.2%, 84%, 0%, 51%)
CIE-LABlab(16.50, 39.11, -56.87)
CIE-LCHlch(16.50, 69.02, 304.52°)
OKLaboklab(29.74% 0.0073 -0.1645)
OKLCHoklch(29.74% 0.165 272.5)
XYZxyz(4.3766, 2.2001, 19.5921)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A147D #777D14
analogous
#14427D #1A147D #4E147D
triadic
#1A147D #7D1A14 #147D1A
tetradic
#1A147D #7D1442 #777D14 #147D4E
square
#1A147D #7D1442 #777D14 #147D4E
split-complementary
#1A147D #7D4E14 #427D14
monochromatic
#05041A #0F0C48 #1A147D #251CB2 #382EDE

Accessibility & contrast

On white

14.58
#1A147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A147D
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A147D#FFFFFF#000000##FFFFFF
##1A147D1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a147d;
/* rgb */ color: rgb(26, 20, 125);
/* oklch */ color: oklch(29.7% 0.165 272.5);
Tailwind
colors: {
  custom: {
    50: '#6a55a4',
    500: '#1a147d',
    950: '#000000',
  },
}
SCSS
$custom: #1a147d;
$custom-light: #6a55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a147d",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 243.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.2974,
    "c": 0.16471,
    "h": 272.5
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#1A147D
secondary
#ACB23A
accent
#EF39E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A147D

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

Preview Lab → · Contrast checker → · Palette generator →

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