#1C4178#1C4178

#1C4178 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.103 H 258.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#1C4178
RGBrgb(28, 65, 120)
HSLhsl(216, 62%, 29%)
HSVhsv(216, 77%, 47%)
CMYKcmyk(76.7%, 45.8%, 0%, 52.9%)
CIE-LABlab(27.80, 7.59, -35.26)
CIE-LCHlch(27.80, 36.07, 282.14°)
OKLaboklab(37.98% -0.0208 -0.1009)
OKLCHoklch(37.98% 0.103 258.4)
XYZxyz(5.7581, 5.3829, 18.5012)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4178 #78531C
analogous
#1C6F78 #1C4178 #251C78
triadic
#1C4178 #781C41 #41781C
tetradic
#1C4178 #781C6F #78531C #1C7825
square
#1C4178 #781C6F #78531C #1C7825
split-complementary
#1C4178 #78251C #6F781C
monochromatic
#060D19 #102646 #1C4178 #285CAA #3D79D2

Accessibility & contrast

On white

10.11
#1C4178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1C4178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4178
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4178#FFFFFF#000000##FFFFFF
##1C41781.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#143E77
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c4178;
/* rgb */ color: rgb(28, 65, 120);
/* oklch */ color: oklch(38.0% 0.103 258.4);
Tailwind
colors: {
  custom: {
    50: '#66759f',
    500: '#1c4178',
    950: '#000000',
  },
}
SCSS
$custom: #1c4178;
$custom-light: #66759f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4178",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 215.87,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37981,
    "c": 0.10305,
    "h": 258.4
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#1C4178
secondary
#AC8244
accent
#A443E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1C4178

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

Preview Lab → · Contrast checker → · Palette generator →

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