#1C2884#1C2884

#1C2884 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.153 H 269.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#1C2884
RGBrgb(28, 40, 132)
HSLhsl(233, 65%, 31%)
HSVhsv(233, 79%, 52%)
CMYKcmyk(78.8%, 69.7%, 0%, 48.2%)
CIE-LABlab(21.69, 29.78, -52.74)
CIE-LCHlch(21.69, 60.56, 299.45°)
OKLaboklab(33.69% -0.0005 -0.1526)
OKLCHoklch(33.69% 0.153 269.8)
XYZxyz(5.4011, 3.4298, 22.2027)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2884 #84781C
analogous
#1C5C84 #1C2884 #441C84
triadic
#1C2884 #841C28 #28841C
tetradic
#1C2884 #841C5C #84781C #1C8444
square
#1C2884 #841C5C #84781C #1C8444
split-complementary
#1C2884 #84441C #5C841C
monochromatic
#07091F #111952 #1C2884 #2737B6 #4354D7

Accessibility & contrast

On white

12.46
#1C2884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C2884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2884
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2884#FFFFFF#000000##FFFFFF
##1C28841.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2884;
/* rgb */ color: rgb(28, 40, 132);
/* oklch */ color: oklch(33.7% 0.153 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b62a9',
    500: '#1c2884',
    950: '#000000',
  },
}
SCSS
$custom: #1c2884;
$custom-light: #6b62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2884",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 233.077,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33693,
    "c": 0.15264,
    "h": 269.8
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#1C2884
secondary
#B7AA45
accent
#D540E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1C2884

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

Preview Lab → · Contrast checker → · Palette generator →

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