#1C2684#1C2684

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

Color values

HEX#1C2684
RGBrgb(28, 38, 132)
HSLhsl(234, 65%, 31%)
HSVhsv(234, 79%, 52%)
CMYKcmyk(78.8%, 71.2%, 0%, 48.2%)
CIE-LABlab(21.20, 31.09, -53.54)
CIE-LCHlch(21.20, 61.91, 300.15°)
OKLaboklab(33.34% 0.0006 -0.155)
OKLCHoklch(33.34% 0.155 270.2)
XYZxyz(5.3354, 3.2985, 22.1808)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2684 #847A1C
analogous
#1C5A84 #1C2684 #461C84
triadic
#1C2684 #841C26 #26841C
tetradic
#1C2684 #841C5A #847A1C #1C8446
square
#1C2684 #841C5A #847A1C #1C8446
split-complementary
#1C2684 #84461C #5A841C
monochromatic
#07091F #111752 #1C2684 #2735B6 #4351D7

Accessibility & contrast

On white

12.65
#1C2684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2684
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2684#FFFFFF#000000##FFFFFF
##1C26841.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2684;
/* rgb */ color: rgb(28, 38, 132);
/* oklch */ color: oklch(33.3% 0.155 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b60a9',
    500: '#1c2684',
    950: '#000000',
  },
}
SCSS
$custom: #1c2684;
$custom-light: #6b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2684",
  "rgb": {
    "r": 28,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 234.231,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3334,
    "c": 0.15498,
    "h": 270.2
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#1C2684
secondary
#B7AC45
accent
#D840E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1C2684

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

Preview Lab → · Contrast checker → · Palette generator →

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