#1C478D#1C478D

#1C478D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 40.9% C 0.126 H 259.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#1C478D
RGBrgb(28, 71, 141)
HSLhsl(217, 67%, 33%)
HSVhsv(217, 80%, 55%)
CMYKcmyk(80.1%, 49.6%, 0%, 44.7%)
CIE-LABlab(31.06, 11.99, -43.08)
CIE-LCHlch(31.06, 44.72, 285.55°)
OKLaboklab(40.95% -0.0223 -0.1238)
OKLCHoklch(40.95% 0.126 259.8)
XYZxyz(7.5381, 6.6756, 26.0854)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C478D #8D621C
analogous
#1C7F8D #1C478D #291C8D
triadic
#1C478D #8D1C47 #478D1C
tetradic
#1C478D #8D1C7F #8D621C #1C8D29
square
#1C478D #8D1C7F #8D621C #1C8D29
split-complementary
#1C478D #8D291C #7F8D1C
monochromatic
#081427 #122D5A #1C478D #2661C0 #4980DB

Accessibility & contrast

On white

8.99
#1C478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1C478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C478D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C478D#FFFFFF#000000##FFFFFF
##1C478D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1c478d;
/* rgb */ color: rgb(28, 71, 141);
/* oklch */ color: oklch(40.9% 0.126 259.8);
Tailwind
colors: {
  custom: {
    50: '#6b79af',
    500: '#1c478d',
    950: '#000000',
  },
}
SCSS
$custom: #1c478d;
$custom-light: #6b79af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c478d",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 217.168,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.12582,
    "h": 259.8
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#1C478D
secondary
#BD9048
accent
#A83EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1C478D

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

Preview Lab → · Contrast checker → · Palette generator →

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