#1C1E95#1C1E95

#1C1E95 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.185 H 270.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#1C1E95
RGBrgb(28, 30, 149)
HSLhsl(239, 68%, 35%)
HSVhsv(239, 81%, 58%)
CMYKcmyk(81.2%, 79.9%, 0%, 41.6%)
CIE-LABlab(21.37, 41.96, -63.85)
CIE-LCHlch(21.37, 76.41, 303.31°)
OKLaboklab(34.02% 0.0012 -0.1849)
OKLCHoklch(34.02% 0.185 270.4)
XYZxyz(6.3661, 3.3446, 28.7380)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1E95 #95931C
analogous
#1C5B95 #1C1E95 #561C95
triadic
#1C1E95 #951C1E #1E951C
tetradic
#1C1E95 #951C5B #95931C #1C9556
square
#1C1E95 #951C5B #95931C #1C9556
split-complementary
#1C1E95 #95561C #5B951C
monochromatic
#09092E #121461 #1C1E95 #2628C9 #4E50DE

Accessibility & contrast

On white

12.58
#1C1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1C1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1E95
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1E95#FFFFFF#000000##FFFFFF
##1C1E951.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003998
Deuteranopia (green-blind)
#002D93
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c1e95;
/* rgb */ color: rgb(28, 30, 149);
/* oklch */ color: oklch(34.0% 0.185 270.4);
Tailwind
colors: {
  custom: {
    50: '#705cb5',
    500: '#1c1e95',
    950: '#000000',
  },
}
SCSS
$custom: #1c1e95;
$custom-light: #705cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1e95",
  "rgb": {
    "r": 28,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 239.008,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34021,
    "c": 0.18491,
    "h": 270.4
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#1C1E95
secondary
#C0BE4D
accent
#E83DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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