#1C478F#1C478F

#1C478F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.129 H 260.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#1C478F
RGBrgb(28, 71, 143)
HSLhsl(218, 67%, 34%)
HSVhsv(218, 80%, 56%)
CMYKcmyk(80.4%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.20, 12.80, -44.08)
CIE-LCHlch(31.20, 45.91, 286.19°)
OKLaboklab(41.1% -0.022 -0.1268)
OKLCHoklch(41.1% 0.129 260.2)
XYZxyz(7.6883, 6.7356, 26.8762)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C478F #8F641C
analogous
#1C808F #1C478F #2A1C8F
triadic
#1C478F #8F1C47 #478F1C
tetradic
#1C478F #8F1C80 #8F641C #1C8F2A
square
#1C478F #8F1C80 #8F641C #1C8F2A
split-complementary
#1C478F #8F2A1C #808F1C
monochromatic
#081429 #122E5C #1C478F #2660C2 #4A80DC

Accessibility & contrast

On white

8.95
#1C478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1C478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C478F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C478F#FFFFFF#000000##FFFFFF
##1C478F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1c478f;
/* rgb */ color: rgb(28, 71, 143);
/* oklch */ color: oklch(41.1% 0.129 260.2);
Tailwind
colors: {
  custom: {
    50: '#6b79b0',
    500: '#1c478f',
    950: '#000000',
  },
}
SCSS
$custom: #1c478f;
$custom-light: #6b79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c478f",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 217.565,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41102,
    "c": 0.12867,
    "h": 260.2
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#1C478F
secondary
#BE9249
accent
#AA3EEA
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1C478F

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

Preview Lab → · Contrast checker → · Palette generator →

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