#1C2084#1C2084

#1C2084 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.162 H 271.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1C2084
RGBrgb(28, 32, 132)
HSLhsl(238, 65%, 31%)
HSVhsv(238, 79%, 52%)
CMYKcmyk(78.8%, 75.8%, 0%, 48.2%)
CIE-LABlab(19.82, 34.90, -55.81)
CIE-LCHlch(19.82, 65.82, 302.02°)
OKLaboklab(32.35% 0.0036 -0.1616)
OKLCHoklch(32.35% 0.162 271.3)
XYZxyz(5.1588, 2.9453, 22.1219)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2084 #84801C
analogous
#1C5484 #1C2084 #4C1C84
triadic
#1C2084 #841C20 #20841C
tetradic
#1C2084 #841C54 #84801C #1C844C
square
#1C2084 #841C54 #84801C #1C844C
split-complementary
#1C2084 #844C1C #54841C
monochromatic
#07081F #111452 #1C2084 #272CB6 #4349D7

Accessibility & contrast

On white

13.21
#1C2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2084
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2084#FFFFFF#000000##FFFFFF
##1C20841.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c2084;
/* rgb */ color: rgb(28, 32, 132);
/* oklch */ color: oklch(32.4% 0.162 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c5ca9',
    500: '#1c2084',
    950: '#000000',
  },
}
SCSS
$custom: #1c2084;
$custom-light: #6c5ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2084",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 237.692,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3235,
    "c": 0.16162,
    "h": 271.3
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#1C2084
secondary
#B7B345
accent
#E240E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2084

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

Preview Lab → · Contrast checker → · Palette generator →

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