#1C0E8D#1C0E8D

#1C0E8D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.3% C 0.187 H 272.1°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#1C0E8D
RGBrgb(28, 14, 141)
HSLhsl(247, 82%, 30%)
HSVhsv(247, 90%, 55%)
CMYKcmyk(80.1%, 90.1%, 0%, 44.7%)
CIE-LABlab(17.84, 46.84, -64.75)
CIE-LCHlch(17.84, 79.91, 305.88°)
OKLaboklab(31.29% 0.0068 -0.1872)
OKLCHoklch(31.29% 0.187 272.1)
XYZxyz(5.4420, 2.4834, 25.3867)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0E8D #7F8D0E
analogous
#0E408D #1C0E8D #5B0E8D
triadic
#1C0E8D #8D1C0E #0E8D1C
tetradic
#1C0E8D #8D0E40 #7F8D0E #0E8D5B
square
#1C0E8D #8D0E40 #7F8D0E #0E8D5B
split-complementary
#1C0E8D #8D5B0E #408D0E
monochromatic
#06031E #110855 #1C0E8D #2714C5 #402BEA

Accessibility & contrast

On white

14.03
#1C0E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1C0E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0E8D
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0E8D#FFFFFF#000000##FFFFFF
##1C0E8D1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003190
Deuteranopia (green-blind)
#00258B
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c0e8d;
/* rgb */ color: rgb(28, 14, 141);
/* oklch */ color: oklch(31.3% 0.187 272.1);
Tailwind
colors: {
  custom: {
    50: '#7054b0',
    500: '#1c0e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1c0e8d;
$custom-light: #7054b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0e8d",
  "rgb": {
    "r": 28,
    "g": 14,
    "b": 141
  },
  "hsl": {
    "h": 246.614,
    "s": 81.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31291,
    "c": 0.1873,
    "h": 272.1
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#1C0E8D
secondary
#B3C235
accent
#F830E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C0E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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