#1C0F7F#1C0F7F

#1C0F7F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.6% C 0.170 H 273.6°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#1C0F7F
RGBrgb(28, 15, 127)
HSLhsl(247, 79%, 28%)
HSVhsv(247, 88%, 50%)
CMYKcmyk(78%, 88.2%, 0%, 50.2%)
CIE-LABlab(16.11, 42.21, -58.80)
CIE-LCHlch(16.11, 72.38, 305.67°)
OKLaboklab(29.58% 0.0108 -0.17)
OKLCHoklch(29.58% 0.17 273.6)
XYZxyz(4.4792, 2.1204, 20.2478)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F7F #727F0F
analogous
#0F3A7F #1C0F7F #540F7F
triadic
#1C0F7F #7F1C0F #0F7F1C
tetradic
#1C0F7F #7F0F3A #727F0F #0F7F54
square
#1C0F7F #7F0F3A #727F0F #0F7F54
split-complementary
#1C0F7F #7F540F #3A7F0F
monochromatic
#06031B #100948 #1C0F7F #2815B6 #3A23E5

Accessibility & contrast

On white

14.75
#1C0F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1C0F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F7F
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F7F#FFFFFF#000000##FFFFFF
##1C0F7F1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c0f7f;
/* rgb */ color: rgb(28, 15, 127);
/* oklch */ color: oklch(29.6% 0.170 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c53a5',
    500: '#1c0f7f',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f7f;
$custom-light: #6c53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f7f",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 127
  },
  "hsl": {
    "h": 246.964,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29576,
    "c": 0.17034,
    "h": 273.6
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#1C0F7F
secondary
#A6B534
accent
#F532DF
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C0F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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