#1C1989#1C1989

#1C1989 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.175 H 271.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#1C1989
RGBrgb(28, 25, 137)
HSLhsl(242, 69%, 32%)
HSVhsv(242, 82%, 54%)
CMYKcmyk(79.6%, 81.8%, 0%, 46.3%)
CIE-LABlab(19.00, 40.63, -60.31)
CIE-LCHlch(19.00, 72.72, 303.97°)
OKLaboklab(31.94% 0.0053 -0.1746)
OKLCHoklch(31.94% 0.175 271.7)
XYZxyz(5.3404, 2.7477, 23.9110)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1989 #868919
analogous
#194E89 #1C1989 #541989
triadic
#1C1989 #891C19 #19891C
tetradic
#1C1989 #89194E #868919 #198954
square
#1C1989 #89194E #868919 #198954
split-complementary
#1C1989 #895419 #4E8919
monochromatic
#070621 #111055 #1C1989 #2722BD #4440DC

Accessibility & contrast

On white

13.55
#1C1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1989
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1989#FFFFFF#000000##FFFFFF
##1C19891.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c1989;
/* rgb */ color: rgb(28, 25, 137);
/* oklch */ color: oklch(31.9% 0.175 271.7);
Tailwind
colors: {
  custom: {
    50: '#6e59ad',
    500: '#1c1989',
    950: '#000000',
  },
}
SCSS
$custom: #1c1989;
$custom-light: #6e59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1989",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 241.607,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.17465,
    "h": 271.7
  },
  "luminance": 0.02748
}

Semantic roles & 50–950 ramp

primary
#1C1989
secondary
#B9BC41
accent
#EC3CE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1989

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

Preview Lab → · Contrast checker → · Palette generator →

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