#1C0F76#1C0F76

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

Color values

HEX#1C0F76
RGBrgb(28, 15, 118)
HSLhsl(248, 77%, 26%)
HSVhsv(248, 87%, 46%)
CMYKcmyk(76.3%, 87.3%, 0%, 53.7%)
CIE-LABlab(14.93, 39.40, -54.98)
CIE-LCHlch(14.93, 67.64, 305.63°)
OKLaboklab(28.44% 0.0136 -0.1589)
OKLCHoklch(28.44% 0.16 274.9)
XYZxyz(3.9186, 1.8961, 17.2955)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F76 #69760F
analogous
#0F3576 #1C0F76 #4F0F76
triadic
#1C0F76 #761C0F #0F761C
tetradic
#1C0F76 #760F35 #69760F #0F764F
square
#1C0F76 #760F35 #69760F #0F764F
split-complementary
#1C0F76 #764F0F #35760F
monochromatic
#06031B #0F0840 #1C0F76 #2916AC #361DE2

Accessibility & contrast

On white

15.22
#1C0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0F76
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F76#FFFFFF#000000##FFFFFF
##1C0F761.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c0f76;
/* rgb */ color: rgb(28, 15, 118);
/* oklch */ color: oklch(28.4% 0.160 274.9);
Tailwind
colors: {
  custom: {
    50: '#6a529f',
    500: '#1c0f76',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f76;
$custom-light: #6a529f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f76",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 247.573,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28435,
    "c": 0.15952,
    "h": 274.9
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#1C0F76
secondary
#9EAD33
accent
#F434DC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020F
muted
#7A787E

Preview Lab

Preview with #1C0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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