#1C2785#1C2785

#1C2785 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.155 H 270.0°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1C2785
RGBrgb(28, 39, 133)
HSLhsl(234, 65%, 32%)
HSVhsv(234, 79%, 52%)
CMYKcmyk(78.9%, 70.7%, 0%, 47.8%)
CIE-LABlab(21.55, 30.81, -53.60)
CIE-LCHlch(21.55, 61.83, 299.89°)
OKLaboklab(33.62% 0 -0.1552)
OKLCHoklch(33.62% 0.155 270)
XYZxyz(5.4366, 3.3908, 22.5537)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2785 #857A1C
analogous
#1C5C85 #1C2785 #461C85
triadic
#1C2785 #851C27 #27851C
tetradic
#1C2785 #851C5C #857A1C #1C8546
square
#1C2785 #851C5C #857A1C #1C8546
split-complementary
#1C2785 #85461C #5C851C
monochromatic
#070920 #111852 #1C2785 #2736B8 #4453D8

Accessibility & contrast

On white

12.51
#1C2785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C2785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2785
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2785#FFFFFF#000000##FFFFFF
##1C27851.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2785;
/* rgb */ color: rgb(28, 39, 133);
/* oklch */ color: oklch(33.6% 0.155 270.0);
Tailwind
colors: {
  custom: {
    50: '#6b61a9',
    500: '#1c2785',
    950: '#000000',
  },
}
SCSS
$custom: #1c2785;
$custom-light: #6b61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2785",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 233.714,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3362,
    "c": 0.15516,
    "h": 270
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#1C2785
secondary
#B8AC45
accent
#D740E8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2785

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

Preview Lab → · Contrast checker → · Palette generator →

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