#1C2082#1C2082

#1C2082 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.159 H 271.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#1C2082
RGBrgb(28, 32, 130)
HSLhsl(238, 65%, 31%)
HSVhsv(238, 78%, 51%)
CMYKcmyk(78.5%, 75.4%, 0%, 49%)
CIE-LABlab(19.60, 34.18, -54.91)
CIE-LCHlch(19.60, 64.68, 301.90°)
OKLaboklab(32.13% 0.0039 -0.159)
OKLCHoklch(32.13% 0.159 271.4)
XYZxyz(5.0233, 2.8911, 21.4081)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2082 #827E1C
analogous
#1C5382 #1C2082 #4B1C82
triadic
#1C2082 #821C20 #20821C
tetradic
#1C2082 #821C53 #827E1C #1C824B
square
#1C2082 #821C53 #827E1C #1C824B
split-complementary
#1C2082 #824B1C #53821C
monochromatic
#06071D #111450 #1C2082 #272CB4 #4248D6

Accessibility & contrast

On white

13.30
#1C2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2082
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2082#FFFFFF#000000##FFFFFF
##1C20821.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c2082;
/* rgb */ color: rgb(28, 32, 130);
/* oklch */ color: oklch(32.1% 0.159 271.4);
Tailwind
colors: {
  custom: {
    50: '#6b5ca7',
    500: '#1c2082',
    950: '#000000',
  },
}
SCSS
$custom: #1c2082;
$custom-light: #6b5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2082",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 237.647,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32127,
    "c": 0.15902,
    "h": 271.4
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#1C2082
secondary
#B5B144
accent
#E140E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2082

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

Preview Lab → · Contrast checker → · Palette generator →

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