#1C478C#1C478C

#1C478C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.124 H 259.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1C478C
RGBrgb(28, 71, 140)
HSLhsl(217, 67%, 33%)
HSVhsv(217, 80%, 55%)
CMYKcmyk(80%, 49.3%, 0%, 45.1%)
CIE-LABlab(30.99, 11.59, -42.58)
CIE-LCHlch(30.99, 44.13, 285.22°)
OKLaboklab(40.87% -0.0225 -0.1223)
OKLCHoklch(40.87% 0.124 259.6)
XYZxyz(7.4640, 6.6459, 25.6953)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C478C #8C611C
analogous
#1C7F8C #1C478C #291C8C
triadic
#1C478C #8C1C47 #478C1C
tetradic
#1C478C #8C1C7F #8C611C #1C8C29
square
#1C478C #8C1C7F #8C611C #1C8C29
split-complementary
#1C478C #8C291C #7F8C1C
monochromatic
#081326 #122D59 #1C478C #2661BF #4880DA

Accessibility & contrast

On white

9.02
#1C478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1C478C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C478C
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C478C#FFFFFF#000000##FFFFFF
##1C478C1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1c478c;
/* rgb */ color: rgb(28, 71, 140);
/* oklch */ color: oklch(40.9% 0.124 259.6);
Tailwind
colors: {
  custom: {
    50: '#6b79ae',
    500: '#1c478c',
    950: '#000000',
  },
}
SCSS
$custom: #1c478c;
$custom-light: #6b79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c478c",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 216.964,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40873,
    "c": 0.12439,
    "h": 259.6
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C478C

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

Preview Lab → · Contrast checker → · Palette generator →

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