#1C0E7F#1C0E7F

#1C0E7F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.171 H 273.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#1C0E7F
RGBrgb(28, 14, 127)
HSLhsl(247, 80%, 28%)
HSVhsv(247, 89%, 50%)
CMYKcmyk(78%, 89%, 0%, 50.2%)
CIE-LABlab(15.97, 42.63, -59.03)
CIE-LCHlch(15.97, 72.82, 305.83°)
OKLaboklab(29.48% 0.0111 -0.1706)
OKLCHoklch(29.48% 0.171 273.7)
XYZxyz(4.4654, 2.0928, 20.2432)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0E7F #717F0E
analogous
#0E387F #1C0E7F #550E7F
triadic
#1C0E7F #7F1C0E #0E7F1C
tetradic
#1C0E7F #7F0E38 #717F0E #0E7F55
square
#1C0E7F #7F0E38 #717F0E #0E7F55
split-complementary
#1C0E7F #7F550E #387F0E
monochromatic
#06031C #100848 #1C0E7F #2814B6 #3921E7

Accessibility & contrast

On white

14.80
#1C0E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0E7F
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0E7F#FFFFFF#000000##FFFFFF
##1C0E7F1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c0e7f;
/* rgb */ color: rgb(28, 14, 127);
/* oklch */ color: oklch(29.5% 0.171 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c52a5',
    500: '#1c0e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1c0e7f;
$custom-light: #6c52a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0e7f",
  "rgb": {
    "r": 28,
    "g": 14,
    "b": 127
  },
  "hsl": {
    "h": 247.434,
    "s": 80.142,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29481,
    "c": 0.17101,
    "h": 273.7
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#1C0E7F
secondary
#A6B633
accent
#F731DE
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F

Preview Lab

Preview with #1C0E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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