#1C0F70#1C0F70

#1C0F70 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.152 H 275.9°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#1C0F70
RGBrgb(28, 15, 112)
HSLhsl(248, 76%, 25%)
HSVhsv(248, 87%, 44%)
CMYKcmyk(75%, 86.6%, 0%, 56.1%)
CIE-LABlab(14.16, 37.49, -52.37)
CIE-LCHlch(14.16, 64.41, 305.60°)
OKLaboklab(27.68% 0.0155 -0.1514)
OKLCHoklch(27.68% 0.152 275.9)
XYZxyz(3.5734, 1.7580, 15.4771)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F70 #63700F
analogous
#0F3370 #1C0F70 #4C0F70
triadic
#1C0F70 #701C0F #0F701C
tetradic
#1C0F70 #700F33 #63700F #0F704C
square
#1C0F70 #700F33 #63700F #0F704C
split-complementary
#1C0F70 #704C0F #33700F
monochromatic
#07041B #0F083A #1C0F70 #2916A6 #371DDC

Accessibility & contrast

On white

15.54
#1C0F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1C0F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F70
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F70#FFFFFF#000000##FFFFFF
##1C0F701.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#00206E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1c0f70;
/* rgb */ color: rgb(28, 15, 112);
/* oklch */ color: oklch(27.7% 0.152 275.9);
Tailwind
colors: {
  custom: {
    50: '#68519a',
    500: '#1c0f70',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f70;
$custom-light: #68519a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f70",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 248.041,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27683,
    "c": 0.15217,
    "h": 275.9
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

primary
#1C0F70
secondary
#98A833
accent
#F335D9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1C0F70

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

Preview Lab → · Contrast checker → · Palette generator →

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