#1C47A6#1C47A6

#1C47A6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.161 H 263.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#1C47A6
RGBrgb(28, 71, 166)
HSLhsl(221, 71%, 38%)
HSVhsv(221, 83%, 65%)
CMYKcmyk(83.1%, 57.2%, 0%, 34.9%)
CIE-LABlab(32.93, 22.05, -55.22)
CIE-LCHlch(32.93, 59.45, 291.77°)
OKLaboklab(42.97% -0.0195 -0.1595)
OKLCHoklch(42.97% 0.161 263)
XYZxyz(9.6126, 7.5054, 37.0110)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C47A6 #A67B1C
analogous
#1C8CA6 #1C47A6 #361CA6
triadic
#1C47A6 #A61C47 #47A61C
tetradic
#1C47A6 #A61C8C #A67B1C #1CA636
square
#1C47A6 #A61C8C #A67B1C #1CA636
split-complementary
#1C47A6 #A6361C #8CA61C
monochromatic
#0A1A3D #133172 #1C47A6 #255DDA #5984E3

Accessibility & contrast

On white

8.40
#1C47A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1C47A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C47A6
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C47A6#FFFFFF#000000##FFFFFF
##1C47A61.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1c47a6;
/* rgb */ color: rgb(28, 71, 166);
/* oklch */ color: oklch(43.0% 0.161 263.0);
Tailwind
colors: {
  custom: {
    50: '#7179c1',
    500: '#1c47a6',
    950: '#000000',
  },
}
SCSS
$custom: #1c47a6;
$custom-light: #7179c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c47a6",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 221.304,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42968,
    "c": 0.16071,
    "h": 263
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#1C47A6
secondary
#C7A457
accent
#B63AEE
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1C47A6

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

Preview Lab → · Contrast checker → · Palette generator →

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