#1C0F71#1C0F71

#1C0F71 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.153 H 275.7°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#1C0F71
RGBrgb(28, 15, 113)
HSLhsl(248, 77%, 25%)
HSVhsv(248, 87%, 44%)
CMYKcmyk(75.2%, 86.7%, 0%, 55.7%)
CIE-LABlab(14.29, 37.81, -52.81)
CIE-LCHlch(14.29, 64.95, 305.60°)
OKLaboklab(27.81% 0.0152 -0.1526)
OKLCHoklch(27.81% 0.153 275.7)
XYZxyz(3.6294, 1.7804, 15.7720)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F71 #64710F
analogous
#0F3371 #1C0F71 #4D0F71
triadic
#1C0F71 #711C0F #0F711C
tetradic
#1C0F71 #710F33 #64710F #0F714D
square
#1C0F71 #710F33 #64710F #0F714D
split-complementary
#1C0F71 #714D0F #33710F
monochromatic
#07041B #0F083B #1C0F71 #2916A7 #371DDD

Accessibility & contrast

On white

15.48
#1C0F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1C0F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F71
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F71#FFFFFF#000000##FFFFFF
##1C0F711.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1c0f71;
/* rgb */ color: rgb(28, 15, 113);
/* oklch */ color: oklch(27.8% 0.153 275.7);
Tailwind
colors: {
  custom: {
    50: '#68519b',
    500: '#1c0f71',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f71;
$custom-light: #68519b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f71",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 247.959,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27808,
    "c": 0.15341,
    "h": 275.7
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#1C0F71
secondary
#99A933
accent
#F335DA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1C0F71

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

Preview Lab → · Contrast checker → · Palette generator →

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