#1C1789#1C1789

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

Color values

HEX#1C1789
RGBrgb(28, 23, 137)
HSLhsl(243, 71%, 31%)
HSVhsv(243, 83%, 54%)
CMYKcmyk(79.6%, 83.2%, 0%, 46.3%)
CIE-LABlab(18.65, 41.66, -60.90)
CIE-LCHlch(18.65, 73.78, 304.37°)
OKLaboklab(31.7% 0.0059 -0.1762)
OKLCHoklch(31.7% 0.176 271.9)
XYZxyz(5.2991, 2.6652, 23.8972)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1789 #848917
analogous
#174B89 #1C1789 #551789
triadic
#1C1789 #891C17 #17891C
tetradic
#1C1789 #89174B #848917 #178955
square
#1C1789 #89174B #848917 #178955
split-complementary
#1C1789 #895517 #4B8917
monochromatic
#070520 #110E55 #1C1789 #2720BD #433CDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C1789#FFFFFF#000000##FFFFFF
##1C17891.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)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c1789;
/* rgb */ color: rgb(28, 23, 137);
/* oklch */ color: oklch(31.7% 0.176 271.9);
Tailwind
colors: {
  custom: {
    50: '#6e57ad',
    500: '#1c1789',
    950: '#000000',
  },
}
SCSS
$custom: #1c1789;
$custom-light: #6e57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1789",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 242.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31697,
    "c": 0.17634,
    "h": 271.9
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#1C1789
secondary
#B7BD3F
accent
#EE3AE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1C1789

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

Preview Lab → · Contrast checker → · Palette generator →

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