#1C0F5E#1C0F5E

#1C0F5E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.129 H 279.5°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#1C0F5E
RGBrgb(28, 15, 94)
HSLhsl(250, 72%, 21%)
HSVhsv(250, 84%, 37%)
CMYKcmyk(70.2%, 84%, 0%, 63.1%)
CIE-LABlab(11.93, 31.58, -44.18)
CIE-LCHlch(11.93, 54.30, 305.56°)
OKLaboklab(25.49% 0.0213 -0.1276)
OKLCHoklch(25.49% 0.129 279.5)
XYZxyz(2.6694, 1.3965, 10.7164)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F5E #515E0F
analogous
#0F2A5E #1C0F5E #440F5E
triadic
#1C0F5E #5E1C0F #0F5E1C
tetradic
#1C0F5E #5E0F2A #515E0F #0F5E44
square
#1C0F5E #5E0F2A #515E0F #0F5E44
split-complementary
#1C0F5E #5E440F #2A5E0F
monochromatic
#08041A #0C0729 #1C0F5E #2C1793 #3B20C8

Accessibility & contrast

On white

16.41
#1C0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1C0F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F5E
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F5E#FFFFFF#000000##FFFFFF
##1C0F5E1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1c0f5e;
/* rgb */ color: rgb(28, 15, 94);
/* oklch */ color: oklch(25.5% 0.129 279.5);
Tailwind
colors: {
  custom: {
    50: '#63508d',
    500: '#1c0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f5e;
$custom-light: #63508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f5e",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 249.873,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25488,
    "c": 0.12932,
    "h": 279.5
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#1C0F5E
secondary
#879731
accent
#EF39D1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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