#1C2282#1C2282

#1C2282 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.157 H 271.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#1C2282
RGBrgb(28, 34, 130)
HSLhsl(236, 65%, 31%)
HSVhsv(236, 78%, 51%)
CMYKcmyk(78.5%, 73.8%, 0%, 49%)
CIE-LABlab(20.05, 32.93, -54.17)
CIE-LCHlch(20.05, 63.39, 301.29°)
OKLaboklab(32.45% 0.003 -0.1568)
OKLCHoklch(32.45% 0.157 271.1)
XYZxyz(5.0788, 3.0021, 21.4266)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2282 #827C1C
analogous
#1C5582 #1C2282 #491C82
triadic
#1C2282 #821C22 #22821C
tetradic
#1C2282 #821C55 #827C1C #1C8249
square
#1C2282 #821C55 #827C1C #1C8249
split-complementary
#1C2282 #82491C #55821C
monochromatic
#06081D #111550 #1C2282 #272FB4 #424BD6

Accessibility & contrast

On white

13.12
#1C2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1C2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2282
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2282#FFFFFF#000000##FFFFFF
##1C22821.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c2282;
/* rgb */ color: rgb(28, 34, 130);
/* oklch */ color: oklch(32.4% 0.157 271.1);
Tailwind
colors: {
  custom: {
    50: '#6b5ea7',
    500: '#1c2282',
    950: '#000000',
  },
}
SCSS
$custom: #1c2282;
$custom-light: #6b5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2282",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 236.471,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32449,
    "c": 0.15685,
    "h": 271.1
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#1C2282
secondary
#B5AF44
accent
#DE40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1C2282

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

Preview Lab → · Contrast checker → · Palette generator →

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