#1C478E#1C478E

#1C478E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.127 H 260.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#1C478E
RGBrgb(28, 71, 142)
HSLhsl(217, 67%, 33%)
HSVhsv(217, 80%, 56%)
CMYKcmyk(80.3%, 50%, 0%, 44.3%)
CIE-LABlab(31.13, 12.40, -43.58)
CIE-LCHlch(31.13, 45.31, 285.88°)
OKLaboklab(41.03% -0.0221 -0.1253)
OKLCHoklch(41.03% 0.127 260)
XYZxyz(7.6128, 6.7055, 26.4790)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C478E #8E631C
analogous
#1C808E #1C478E #2A1C8E
triadic
#1C478E #8E1C47 #478E1C
tetradic
#1C478E #8E1C80 #8E631C #1C8E2A
square
#1C478E #8E1C80 #8E631C #1C8E2A
split-complementary
#1C478E #8E2A1C #808E1C
monochromatic
#081428 #122D5B #1C478E #2661C1 #4980DB

Accessibility & contrast

On white

8.97
#1C478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C478E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C478E#FFFFFF#000000##FFFFFF
##1C478E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c478e;
/* rgb */ color: rgb(28, 71, 142);
/* oklch */ color: oklch(41.0% 0.127 260.0);
Tailwind
colors: {
  custom: {
    50: '#6b79b0',
    500: '#1c478e',
    950: '#000000',
  },
}
SCSS
$custom: #1c478e;
$custom-light: #6b79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c478e",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 217.368,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.12725,
    "h": 260
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#1C478E
secondary
#BD9149
accent
#A93EEA
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1C478E

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

Preview Lab → · Contrast checker → · Palette generator →

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