#1C1275#1C1275

#1C1275 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.156 H 274.7°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#1C1275
RGBrgb(28, 18, 117)
HSLhsl(246, 73%, 26%)
HSVhsv(246, 85%, 46%)
CMYKcmyk(76.1%, 84.6%, 0%, 54.1%)
CIE-LABlab(15.29, 37.64, -53.74)
CIE-LCHlch(15.29, 65.61, 305.01°)
OKLaboklab(28.65% 0.0129 -0.1554)
OKLCHoklch(28.65% 0.156 274.7)
XYZxyz(3.9050, 1.9635, 16.9994)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1275 #6B7512
analogous
#123A75 #1C1275 #4E1275
triadic
#1C1275 #751C12 #12751C
tetradic
#1C1275 #75123A #6B7512 #12754E
square
#1C1275 #75123A #6B7512 #12754E
split-complementary
#1C1275 #754E12 #3A7512
monochromatic
#06041B #0F0A40 #1C1275 #291AAA #3724DD

Accessibility & contrast

On white

15.08
#1C1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1C1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1275
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1275#FFFFFF#000000##FFFFFF
##1C12751.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c1275;
/* rgb */ color: rgb(28, 18, 117);
/* oklch */ color: oklch(28.6% 0.156 274.7);
Tailwind
colors: {
  custom: {
    50: '#69539e',
    500: '#1c1275',
    950: '#000000',
  },
}
SCSS
$custom: #1c1275;
$custom-light: #69539e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1275",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 246.061,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28648,
    "c": 0.15592,
    "h": 274.7
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#1C1275
secondary
#A0AC37
accent
#F038DD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C1275

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

Preview Lab → · Contrast checker → · Palette generator →

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