#1C1689#1C1689

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

Color values

HEX#1C1689
RGBrgb(28, 22, 137)
HSLhsl(243, 72%, 31%)
HSVhsv(243, 84%, 54%)
CMYKcmyk(79.6%, 83.9%, 0%, 46.3%)
CIE-LABlab(18.48, 42.15, -61.18)
CIE-LCHlch(18.48, 74.30, 304.57°)
OKLaboklab(31.58% 0.0062 -0.177)
OKLCHoklch(31.58% 0.177 272)
XYZxyz(5.2796, 2.6263, 23.8907)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1689 #838916
analogous
#164989 #1C1689 #551689
triadic
#1C1689 #891C16 #16891C
tetradic
#1C1689 #891649 #838916 #168955
square
#1C1689 #891649 #838916 #168955
split-complementary
#1C1689 #895516 #498916
monochromatic
#060520 #110E54 #1C1689 #271EBE #433ADF

Accessibility & contrast

On white

13.77
#1C1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1689
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1689#FFFFFF#000000##FFFFFF
##1C16891.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c1689;
/* rgb */ color: rgb(28, 22, 137);
/* oklch */ color: oklch(31.6% 0.177 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e57ad',
    500: '#1c1689',
    950: '#000000',
  },
}
SCSS
$custom: #1c1689;
$custom-light: #6e57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1689",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 243.13,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31579,
    "c": 0.17714,
    "h": 272
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#1C1689
secondary
#B6BD3E
accent
#EF39E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1C1689

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

Preview Lab → · Contrast checker → · Palette generator →

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