#1C2176#1C2176

#1C2176 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.142 H 272.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1C2176
RGBrgb(28, 33, 118)
HSLhsl(237, 62%, 29%)
HSVhsv(237, 76%, 46%)
CMYKcmyk(76.3%, 72%, 0%, 53.7%)
CIE-LABlab(18.55, 29.12, -49.00)
CIE-LCHlch(18.55, 57.01, 300.72°)
OKLaboklab(30.99% 0.0052 -0.1417)
OKLCHoklch(30.99% 0.142 272.1)
XYZxyz(4.2917, 2.6422, 17.4198)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2176 #76711C
analogous
#1C4E76 #1C2176 #441C76
triadic
#1C2176 #761C21 #21761C
tetradic
#1C2176 #761C4E #76711C #1C7644
square
#1C2176 #761C4E #76711C #1C7644
split-complementary
#1C2176 #76441C #4E761C
monochromatic
#060719 #101345 #1C2176 #282FA7 #3C44D1

Accessibility & contrast

On white

13.74
#1C2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1C2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2176
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2176#FFFFFF#000000##FFFFFF
##1C21761.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c2176;
/* rgb */ color: rgb(28, 33, 118);
/* oklch */ color: oklch(31.0% 0.142 272.1);
Tailwind
colors: {
  custom: {
    50: '#685c9e',
    500: '#1c2176',
    950: '#000000',
  },
}
SCSS
$custom: #1c2176;
$custom-light: #685c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2176",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 236.667,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.14184,
    "h": 272.1
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#1C2176
secondary
#AAA544
accent
#DC43E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1C2176

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

Preview Lab → · Contrast checker → · Palette generator →

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