#1C1273#1C1273

#1C1273 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.153 H 275.0°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#1C1273
RGBrgb(28, 18, 115)
HSLhsl(246, 73%, 26%)
HSVhsv(246, 84%, 45%)
CMYKcmyk(75.7%, 84.3%, 0%, 54.9%)
CIE-LABlab(15.04, 36.99, -52.86)
CIE-LCHlch(15.04, 64.51, 304.98°)
OKLaboklab(28.4% 0.0135 -0.1528)
OKLCHoklch(28.4% 0.153 275)
XYZxyz(3.7887, 1.9169, 16.3867)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1273 #697312
analogous
#123873 #1C1273 #4C1273
triadic
#1C1273 #731C12 #12731C
tetradic
#1C1273 #731238 #697312 #12734C
square
#1C1273 #731238 #697312 #12734C
split-complementary
#1C1273 #734C12 #387312
monochromatic
#06041A #0F0A3E #1C1273 #291AA8 #3623DD

Accessibility & contrast

On white

15.18
#1C1273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1273
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1273#FFFFFF#000000##FFFFFF
##1C12731.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1273;
/* rgb */ color: rgb(28, 18, 115);
/* oklch */ color: oklch(28.4% 0.153 275.0);
Tailwind
colors: {
  custom: {
    50: '#68539c',
    500: '#1c1273',
    950: '#000000',
  },
}
SCSS
$custom: #1c1273;
$custom-light: #68539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1273",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 246.186,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28403,
    "c": 0.15342,
    "h": 275
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#1C1273
secondary
#9EAA37
accent
#F038DD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1C1273

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

Preview Lab → · Contrast checker → · Palette generator →

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