#1C2080#1C2080

#1C2080 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.156 H 271.6°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#1C2080
RGBrgb(28, 32, 128)
HSLhsl(238, 64%, 31%)
HSVhsv(238, 78%, 50%)
CMYKcmyk(78.1%, 75%, 0%, 49.8%)
CIE-LABlab(19.38, 33.46, -54.01)
CIE-LCHlch(19.38, 63.53, 301.78°)
OKLaboklab(31.91% 0.0043 -0.1563)
OKLCHoklch(31.91% 0.156 271.6)
XYZxyz(4.8904, 2.8379, 20.7079)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2080 #807C1C
analogous
#1C5280 #1C2080 #4A1C80
triadic
#1C2080 #801C20 #20801C
tetradic
#1C2080 #801C52 #807C1C #1C804A
square
#1C2080 #801C52 #807C1C #1C804A
split-complementary
#1C2080 #804A1C #52801C
monochromatic
#06071C #11134E #1C2080 #272DB2 #4147D5

Accessibility & contrast

On white

13.40
#1C2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1C2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2080
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2080#FFFFFF#000000##FFFFFF
##1C20801.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c2080;
/* rgb */ color: rgb(28, 32, 128);
/* oklch */ color: oklch(31.9% 0.156 271.6);
Tailwind
colors: {
  custom: {
    50: '#6a5ca6',
    500: '#1c2080',
    950: '#000000',
  },
}
SCSS
$custom: #1c2080;
$custom-light: #6a5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2080",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 237.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31905,
    "c": 0.15641,
    "h": 271.6
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#1C2080
secondary
#B3AF44
accent
#E041E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1C2080

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

Preview Lab → · Contrast checker → · Palette generator →

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