#1C2782#1C2782

#1C2782 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.151 H 270.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#1C2782
RGBrgb(28, 39, 130)
HSLhsl(234, 65%, 31%)
HSVhsv(234, 78%, 51%)
CMYKcmyk(78.5%, 70%, 0%, 49%)
CIE-LABlab(21.24, 29.68, -52.21)
CIE-LCHlch(21.24, 60.06, 299.62°)
OKLaboklab(33.31% 0.0003 -0.1511)
OKLCHoklch(33.31% 0.151 270.1)
XYZxyz(5.2323, 3.3090, 21.4777)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2782 #82771C
analogous
#1C5A82 #1C2782 #441C82
triadic
#1C2782 #821C27 #27821C
tetradic
#1C2782 #821C5A #82771C #1C8244
square
#1C2782 #821C5A #82771C #1C8244
split-complementary
#1C2782 #82441C #5A821C
monochromatic
#06091D #111850 #1C2782 #2736B4 #4252D6

Accessibility & contrast

On white

12.64
#1C2782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1C2782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2782
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2782#FFFFFF#000000##FFFFFF
##1C27821.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2782;
/* rgb */ color: rgb(28, 39, 130);
/* oklch */ color: oklch(33.3% 0.151 270.1);
Tailwind
colors: {
  custom: {
    50: '#6a61a7',
    500: '#1c2782',
    950: '#000000',
  },
}
SCSS
$custom: #1c2782;
$custom-light: #6a61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2782",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 233.529,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33307,
    "c": 0.15111,
    "h": 270.1
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#1C2782
secondary
#B5A944
accent
#D640E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1C2782

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

Preview Lab → · Contrast checker → · Palette generator →

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