#1C478B#1C478B

#1C478B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.123 H 259.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#1C478B
RGBrgb(28, 71, 139)
HSLhsl(217, 66%, 33%)
HSVhsv(217, 80%, 55%)
CMYKcmyk(79.9%, 48.9%, 0%, 45.5%)
CIE-LABlab(30.92, 11.18, -42.08)
CIE-LCHlch(30.92, 43.54, 284.88°)
OKLaboklab(40.8% -0.0226 -0.1209)
OKLCHoklch(40.8% 0.123 259.4)
XYZxyz(7.3906, 6.6166, 25.3087)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C478B #8B601C
analogous
#1C7E8B #1C478B #291C8B
triadic
#1C478B #8B1C47 #478B1C
tetradic
#1C478B #8B1C7E #8B601C #1C8B29
square
#1C478B #8B1C7E #8B601C #1C8B29
split-complementary
#1C478B #8B291C #7E8B1C
monochromatic
#071325 #122D58 #1C478B #2661BE #4780DA

Accessibility & contrast

On white

9.04
#1C478B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C478B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C478B#FFFFFF#000000##FFFFFF
##1C478B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1c478b;
/* rgb */ color: rgb(28, 71, 139);
/* oklch */ color: oklch(40.8% 0.123 259.4);
Tailwind
colors: {
  custom: {
    50: '#6a79ad',
    500: '#1c478b',
    950: '#000000',
  },
}
SCSS
$custom: #1c478b;
$custom-light: #6a79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c478b",
  "rgb": {
    "r": 28,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 216.757,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40798,
    "c": 0.12297,
    "h": 259.4
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#1C478B
secondary
#BC8F47
accent
#A73EE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1C478B

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

Preview Lab → · Contrast checker → · Palette generator →

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