#1C2980#1C2980

#1C2980 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.146 H 269.7°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1C2980
RGBrgb(28, 41, 128)
HSLhsl(232, 64%, 31%)
HSVhsv(232, 78%, 50%)
CMYKcmyk(78.1%, 68%, 0%, 49.8%)
CIE-LABlab(21.55, 27.57, -50.45)
CIE-LCHlch(21.55, 57.50, 298.66°)
OKLaboklab(33.47% -0.0008 -0.1459)
OKLCHoklch(33.47% 0.146 269.7)
XYZxyz(5.1668, 3.3907, 20.8001)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2980 #80731C
analogous
#1C5B80 #1C2980 #411C80
triadic
#1C2980 #801C29 #29801C
tetradic
#1C2980 #801C5B #80731C #1C8041
square
#1C2980 #801C5B #80731C #1C8041
split-complementary
#1C2980 #80411C #5B801C
monochromatic
#06091C #11194E #1C2980 #2739B2 #4154D5

Accessibility & contrast

On white

12.51
#1C2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C2980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2980
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2980#FFFFFF#000000##FFFFFF
##1C29801.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2980;
/* rgb */ color: rgb(28, 41, 128);
/* oklch */ color: oklch(33.5% 0.146 269.7);
Tailwind
colors: {
  custom: {
    50: '#6a62a6',
    500: '#1c2980',
    950: '#000000',
  },
}
SCSS
$custom: #1c2980;
$custom-light: #6a62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2980",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 232.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33468,
    "c": 0.14595,
    "h": 269.7
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#1C2980
secondary
#B3A544
accent
#D141E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2980

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

Preview Lab → · Contrast checker → · Palette generator →

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