#1C2C80#1C2C80

#1C2C80 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.142 H 268.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#1C2C80
RGBrgb(28, 44, 128)
HSLhsl(230, 64%, 31%)
HSVhsv(230, 78%, 50%)
CMYKcmyk(78.1%, 65.6%, 0%, 49.8%)
CIE-LABlab(22.32, 25.52, -49.18)
CIE-LCHlch(22.32, 55.40, 297.43°)
OKLaboklab(34.04% -0.0027 -0.1422)
OKLCHoklch(34.04% 0.142 268.9)
XYZxyz(5.2745, 3.6062, 20.8360)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C80 #80701C
analogous
#1C5E80 #1C2C80 #3E1C80
triadic
#1C2C80 #801C2C #2C801C
tetradic
#1C2C80 #801C5E #80701C #1C803E
square
#1C2C80 #801C5E #80701C #1C803E
split-complementary
#1C2C80 #803E1C #5E801C
monochromatic
#06091C #111B4E #1C2C80 #273DB2 #4159D5

Accessibility & contrast

On white

12.20
#1C2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1C2C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C80
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C80#FFFFFF#000000##FFFFFF
##1C2C801.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2c80;
/* rgb */ color: rgb(28, 44, 128);
/* oklch */ color: oklch(34.0% 0.142 268.9);
Tailwind
colors: {
  custom: {
    50: '#6965a6',
    500: '#1c2c80',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c80;
$custom-light: #6965a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c80",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 230.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3404,
    "c": 0.14222,
    "h": 268.9
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#1C2C80
secondary
#B3A244
accent
#CC41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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