#1C27A9#1C27A9

#1C27A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.6% C 0.201 H 268.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1C27A9
RGBrgb(28, 39, 169)
HSLhsl(235, 72%, 39%)
HSVhsv(235, 83%, 66%)
CMYKcmyk(83.4%, 76.9%, 0%, 33.7%)
CIE-LABlab(25.45, 43.74, -69.31)
CIE-LCHlch(25.45, 81.96, 302.25°)
OKLaboklab(37.57% -0.0048 -0.2008)
OKLCHoklch(37.57% 0.201 268.6)
XYZxyz(8.3634, 4.5615, 37.9681)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C27A9 #A99E1C
analogous
#1C6DA9 #1C27A9 #571CA9
triadic
#1C27A9 #A91C27 #27A91C
tetradic
#1C27A9 #A91C6D #A99E1C #1CA957
square
#1C27A9 #A91C6D #A99E1C #1CA957
split-complementary
#1C27A9 #A9571C #6DA91C
monochromatic
#0B0F40 #131B74 #1C27A9 #2735DB #5B66E4

Accessibility & contrast

On white

10.98
#1C27A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1C27A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C27A9
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C27A9#FFFFFF#000000##FFFFFF
##1C27A91.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0035A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c27a9;
/* rgb */ color: rgb(28, 39, 169);
/* oklch */ color: oklch(37.6% 0.201 268.6);
Tailwind
colors: {
  custom: {
    50: '#7563c4',
    500: '#1c27a9',
    950: '#000000',
  },
}
SCSS
$custom: #1c27a9;
$custom-light: #7563c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c27a9",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 235.319,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3757,
    "c": 0.20091,
    "h": 268.6
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#1C27A9
secondary
#C8BF59
accent
#E039EE
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #1C27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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