#1C478A#1C478A

#1C478A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.7% C 0.122 H 259.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#1C478A
RGBrgb(28, 71, 138)
HSLhsl(217, 66%, 33%)
HSVhsv(217, 80%, 54%)
CMYKcmyk(79.7%, 48.6%, 0%, 45.9%)
CIE-LABlab(30.85, 10.77, -41.57)
CIE-LCHlch(30.85, 42.95, 284.53°)
OKLaboklab(40.72% -0.0228 -0.1194)
OKLCHoklch(40.72% 0.122 259.2)
XYZxyz(7.3179, 6.5875, 24.9257)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C478A #8A5F1C
analogous
#1C7E8A #1C478A #281C8A
triadic
#1C478A #8A1C47 #478A1C
tetradic
#1C478A #8A1C7E #8A5F1C #1C8A28
square
#1C478A #8A1C7E #8A5F1C #1C8A28
split-complementary
#1C478A #8A281C #7E8A1C
monochromatic
#071324 #122D57 #1C478A #2661BD #4780DA

Accessibility & contrast

On white

9.06
#1C478A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1C478A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C478A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C478A#FFFFFF#000000##FFFFFF
##1C478A1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8C
Deuteranopia (green-blind)
#024489
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1c478a;
/* rgb */ color: rgb(28, 71, 138);
/* oklch */ color: oklch(40.7% 0.122 259.2);
Tailwind
colors: {
  custom: {
    50: '#6a79ad',
    500: '#1c478a',
    950: '#000000',
  },
}
SCSS
$custom: #1c478a;
$custom-light: #6a79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c478a",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 216.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40723,
    "c": 0.12155,
    "h": 259.2
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#1C478A
secondary
#BB8E46
accent
#A73FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1C478A

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

Preview Lab → · Contrast checker → · Palette generator →

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