#1C0F5F#1C0F5F

#1C0F5F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.131 H 279.2°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#1C0F5F
RGBrgb(28, 15, 95)
HSLhsl(250, 73%, 22%)
HSVhsv(250, 84%, 37%)
CMYKcmyk(70.5%, 84.2%, 0%, 62.7%)
CIE-LABlab(12.05, 31.91, -44.65)
CIE-LCHlch(12.05, 54.88, 305.56°)
OKLaboklab(25.61% 0.021 -0.1289)
OKLCHoklch(25.61% 0.131 279.2)
XYZxyz(2.7146, 1.4145, 10.9542)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F5F #525F0F
analogous
#0F2A5F #1C0F5F #440F5F
triadic
#1C0F5F #5F1C0F #0F5F1C
tetradic
#1C0F5F #5F0F2A #525F0F #0F5F44
square
#1C0F5F #5F0F2A #525F0F #0F5F44
split-complementary
#1C0F5F #5F440F #2A5F0F
monochromatic
#08041A #0C072A #1C0F5F #2C1794 #3B20C9

Accessibility & contrast

On white

16.37
#1C0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0F5F
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F5F#FFFFFF#000000##FFFFFF
##1C0F5F1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1c0f5f;
/* rgb */ color: rgb(28, 15, 95);
/* oklch */ color: oklch(25.6% 0.131 279.2);
Tailwind
colors: {
  custom: {
    50: '#64508d',
    500: '#1c0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f5f;
$custom-light: #64508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f5f",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 249.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25607,
    "c": 0.13063,
    "h": 279.2
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#1C0F5F
secondary
#889832
accent
#EF38D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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