#1C1272#1C1272

#1C1272 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.152 H 275.2°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#1C1272
RGBrgb(28, 18, 114)
HSLhsl(246, 73%, 26%)
HSVhsv(246, 84%, 45%)
CMYKcmyk(75.4%, 84.2%, 0%, 55.3%)
CIE-LABlab(14.92, 36.66, -52.42)
CIE-LCHlch(14.92, 63.96, 304.97°)
OKLaboklab(28.28% 0.0137 -0.1515)
OKLCHoklch(28.28% 0.152 275.2)
XYZxyz(3.7315, 1.8940, 16.0853)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1272 #687212
analogous
#123872 #1C1272 #4C1272
triadic
#1C1272 #721C12 #12721C
tetradic
#1C1272 #721238 #687212 #12724C
square
#1C1272 #721238 #687212 #12724C
split-complementary
#1C1272 #724C12 #387212
monochromatic
#06041A #0F0A3D #1C1272 #291AA7 #3623DC

Accessibility & contrast

On white

15.23
#1C1272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1C1272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1272
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1272#FFFFFF#000000##FFFFFF
##1C12721.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c1272;
/* rgb */ color: rgb(28, 18, 114);
/* oklch */ color: oklch(28.3% 0.152 275.2);
Tailwind
colors: {
  custom: {
    50: '#68539c',
    500: '#1c1272',
    950: '#000000',
  },
}
SCSS
$custom: #1c1272;
$custom-light: #68539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1272",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 246.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2828,
    "c": 0.15217,
    "h": 275.2
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#1C1272
secondary
#9DA937
accent
#EF38DC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1C1272

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

Preview Lab → · Contrast checker → · Palette generator →

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