#1C2178#1C2178

#1C2178 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.145 H 271.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1C2178
RGBrgb(28, 33, 120)
HSLhsl(237, 62%, 29%)
HSVhsv(237, 77%, 47%)
CMYKcmyk(76.7%, 72.5%, 0%, 52.9%)
CIE-LABlab(18.76, 29.87, -49.95)
CIE-LCHlch(18.76, 58.20, 300.89°)
OKLaboklab(31.2% 0.0049 -0.1445)
OKLCHoklch(31.2% 0.145 271.9)
XYZxyz(4.4118, 2.6902, 18.0524)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2178 #78731C
analogous
#1C4F78 #1C2178 #451C78
triadic
#1C2178 #781C21 #21781C
tetradic
#1C2178 #781C4F #78731C #1C7845
square
#1C2178 #781C4F #78731C #1C7845
split-complementary
#1C2178 #78451C #4F781C
monochromatic
#060719 #101346 #1C2178 #282FAA #3D45D2

Accessibility & contrast

On white

13.65
#1C2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1C2178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2178
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2178#FFFFFF#000000##FFFFFF
##1C21781.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c2178;
/* rgb */ color: rgb(28, 33, 120);
/* oklch */ color: oklch(31.2% 0.145 271.9);
Tailwind
colors: {
  custom: {
    50: '#685da0',
    500: '#1c2178',
    950: '#000000',
  },
}
SCSS
$custom: #1c2178;
$custom-light: #685da0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2178",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 236.739,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31199,
    "c": 0.14458,
    "h": 271.9
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#1C2178
secondary
#ACA644
accent
#DC43E5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1C2178

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

Preview Lab → · Contrast checker → · Palette generator →

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