#1C2181#1C2181

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

Color values

HEX#1C2181
RGBrgb(28, 33, 129)
HSLhsl(237, 64%, 31%)
HSVhsv(237, 78%, 51%)
CMYKcmyk(78.3%, 74.4%, 0%, 49.4%)
CIE-LABlab(19.72, 33.20, -54.09)
CIE-LCHlch(19.72, 63.47, 301.54°)
OKLaboklab(32.18% 0.0036 -0.1566)
OKLCHoklch(32.18% 0.157 271.3)
XYZxyz(4.9839, 2.9190, 21.0654)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2181 #817C1C
analogous
#1C5381 #1C2181 #491C81
triadic
#1C2181 #811C21 #21811C
tetradic
#1C2181 #811C53 #817C1C #1C8149
square
#1C2181 #811C53 #817C1C #1C8149
split-complementary
#1C2181 #81491C #53811C
monochromatic
#06071C #11144F #1C2181 #272EB3 #4249D6

Accessibility & contrast

On white

13.26
#1C2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1C2181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2181
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2181#FFFFFF#000000##FFFFFF
##1C21811.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c2181;
/* rgb */ color: rgb(28, 33, 129);
/* oklch */ color: oklch(32.2% 0.157 271.3);
Tailwind
colors: {
  custom: {
    50: '#6b5da7',
    500: '#1c2181',
    950: '#000000',
  },
}
SCSS
$custom: #1c2181;
$custom-light: #6b5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2181",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 237.03,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32176,
    "c": 0.15663,
    "h": 271.3
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#1C2181
secondary
#B4AF44
accent
#DF40E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1C2181

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

Preview Lab → · Contrast checker → · Palette generator →

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