#1C0F6A#1C0F6A

#1C0F6A is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.9% C 0.145 H 276.9°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#1C0F6A
RGBrgb(28, 15, 106)
HSLhsl(249, 75%, 24%)
HSVhsv(249, 86%, 42%)
CMYKcmyk(73.6%, 85.8%, 0%, 58.4%)
CIE-LABlab(13.40, 35.55, -49.71)
CIE-LCHlch(13.40, 61.11, 305.57°)
OKLaboklab(26.94% 0.0175 -0.1436)
OKLCHoklch(26.94% 0.145 276.9)
XYZxyz(3.2504, 1.6288, 13.7760)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F6A #5D6A0F
analogous
#0F2F6A #1C0F6A #490F6A
triadic
#1C0F6A #6A1C0F #0F6A1C
tetradic
#1C0F6A #6A0F2F #5D6A0F #0F6A49
square
#1C0F6A #6A0F2F #5D6A0F #0F6A49
split-complementary
#1C0F6A #6A490F #2F6A0F
monochromatic
#07041B #0E0734 #1C0F6A #2A17A0 #381ED5

Accessibility & contrast

On white

15.84
#1C0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1C0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F6A
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F6A#FFFFFF#000000##FFFFFF
##1C0F6A1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266C
Deuteranopia (green-blind)
#001E68
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1c0f6a;
/* rgb */ color: rgb(28, 15, 106);
/* oklch */ color: oklch(26.9% 0.145 276.9);
Tailwind
colors: {
  custom: {
    50: '#665196',
    500: '#1c0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f6a;
$custom-light: #665196;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f6a",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 248.571,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2694,
    "c": 0.1447,
    "h": 276.9
  },
  "luminance": 0.01629
}

Semantic roles & 50–950 ramp

primary
#1C0F6A
secondary
#92A232
accent
#F236D7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1C0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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