#1C2885#1C2885

#1C2885 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.154 H 269.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1C2885
RGBrgb(28, 40, 133)
HSLhsl(233, 65%, 32%)
HSVhsv(233, 79%, 52%)
CMYKcmyk(78.9%, 69.9%, 0%, 47.8%)
CIE-LABlab(21.79, 30.16, -53.20)
CIE-LCHlch(21.79, 61.15, 299.55°)
OKLaboklab(33.8% -0.0006 -0.154)
OKLCHoklch(33.8% 0.154 269.8)
XYZxyz(5.4699, 3.4573, 22.5648)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2885 #85791C
analogous
#1C5D85 #1C2885 #451C85
triadic
#1C2885 #851C28 #28851C
tetradic
#1C2885 #851C5D #85791C #1C8545
square
#1C2885 #851C5D #85791C #1C8545
split-complementary
#1C2885 #85451C #5D851C
monochromatic
#070A20 #111952 #1C2885 #2737B8 #4455D8

Accessibility & contrast

On white

12.41
#1C2885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2885
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2885#FFFFFF#000000##FFFFFF
##1C28851.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2885;
/* rgb */ color: rgb(28, 40, 133);
/* oklch */ color: oklch(33.8% 0.154 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b62a9',
    500: '#1c2885',
    950: '#000000',
  },
}
SCSS
$custom: #1c2885;
$custom-light: #6b62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2885",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 233.143,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33797,
    "c": 0.15399,
    "h": 269.8
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C2885

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

Preview Lab → · Contrast checker → · Palette generator →

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