#1C1782#1C1782

#1C1782 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.168 H 272.6°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1C1782
RGBrgb(28, 23, 130)
HSLhsl(243, 70%, 30%)
HSVhsv(243, 82%, 51%)
CMYKcmyk(78.5%, 82.3%, 0%, 49%)
CIE-LABlab(17.79, 39.35, -57.92)
CIE-LCHlch(17.79, 70.02, 304.19°)
OKLaboklab(30.85% 0.0076 -0.1676)
OKLCHoklch(30.85% 0.168 272.6)
XYZxyz(4.8132, 2.4709, 21.3380)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1782 #7D8217
analogous
#174782 #1C1782 #521782
triadic
#1C1782 #821C17 #17821C
tetradic
#1C1782 #821747 #7D8217 #178252
square
#1C1782 #821747 #7D8217 #178252
split-complementary
#1C1782 #825217 #478217
monochromatic
#06051A #110E4E #1C1782 #2720B6 #3F38DC

Accessibility & contrast

On white

14.05
#1C1782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1C1782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1782
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1782#FFFFFF#000000##FFFFFF
##1C17821.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002680
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c1782;
/* rgb */ color: rgb(28, 23, 130);
/* oklch */ color: oklch(30.8% 0.168 272.6);
Tailwind
colors: {
  custom: {
    50: '#6c57a8',
    500: '#1c1782',
    950: '#000000',
  },
}
SCSS
$custom: #1c1782;
$custom-light: #6c57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1782",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 242.804,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.30846,
    "c": 0.16777,
    "h": 272.6
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#1C1782
secondary
#B1B63E
accent
#ED3BE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1782

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

Preview Lab → · Contrast checker → · Palette generator →

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