#1C1EA1#1C1EA1

#1C1EA1 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.199 H 269.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#1C1EA1
RGBrgb(28, 30, 161)
HSLhsl(239, 70%, 37%)
HSVhsv(239, 83%, 63%)
CMYKcmyk(82.6%, 81.4%, 0%, 36.9%)
CIE-LABlab(22.82, 45.93, -68.82)
CIE-LCHlch(22.82, 82.73, 303.72°)
OKLaboklab(35.45% -0.0012 -0.1993)
OKLCHoklch(35.45% 0.199 269.7)
XYZxyz(7.3740, 3.7478, 34.0461)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1EA1 #A19F1C
analogous
#1C60A1 #1C1EA1 #5D1CA1
triadic
#1C1EA1 #A11C1E #1EA11C
tetradic
#1C1EA1 #A11C60 #A19F1C #1CA15D
square
#1C1EA1 #A11C60 #A19F1C #1CA15D
split-complementary
#1C1EA1 #A15D1C #60A11C
monochromatic
#0A0B39 #13146D #1C1EA1 #2528D5 #5658E2

Accessibility & contrast

On white

12.00
#1C1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1C1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1EA1
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1EA1#FFFFFF#000000##FFFFFF
##1C1EA11.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c1ea1;
/* rgb */ color: rgb(28, 30, 161);
/* oklch */ color: oklch(35.4% 0.199 269.7);
Tailwind
colors: {
  custom: {
    50: '#745dbe',
    500: '#1c1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1c1ea1;
$custom-light: #745dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1ea1",
  "rgb": {
    "r": 28,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 239.098,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3545,
    "c": 0.19929,
    "h": 269.7
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#1C1EA1
secondary
#C5C354
accent
#EA3BED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1C1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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