#1C1986#1C1986

#1C1986 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.171 H 272.0°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#1C1986
RGBrgb(28, 25, 134)
HSLhsl(242, 69%, 31%)
HSVhsv(242, 81%, 53%)
CMYKcmyk(79.1%, 81.3%, 0%, 47.5%)
CIE-LABlab(18.64, 39.63, -59.03)
CIE-LCHlch(18.64, 71.10, 303.87°)
OKLaboklab(31.58% 0.006 -0.1708)
OKLCHoklch(31.58% 0.171 272)
XYZxyz(5.1281, 2.6628, 22.7933)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1986 #838619
analogous
#194C86 #1C1986 #521986
triadic
#1C1986 #861C19 #19861C
tetradic
#1C1986 #86194C #838619 #198652
square
#1C1986 #86194C #838619 #198652
split-complementary
#1C1986 #865219 #4C8619
monochromatic
#06061F #110F52 #1C1986 #2723BA #433EDB

Accessibility & contrast

On white

13.70
#1C1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1C1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1986
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1986#FFFFFF#000000##FFFFFF
##1C19861.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c1986;
/* rgb */ color: rgb(28, 25, 134);
/* oklch */ color: oklch(31.6% 0.171 272.0);
Tailwind
colors: {
  custom: {
    50: '#6d58aa',
    500: '#1c1986',
    950: '#000000',
  },
}
SCSS
$custom: #1c1986;
$custom-light: #6d58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1986",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 241.651,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31583,
    "c": 0.17095,
    "h": 272
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#1C1986
secondary
#B6BA41
accent
#EB3CE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1986

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

Preview Lab → · Contrast checker → · Palette generator →

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