#1C0F72#1C0F72

#1C0F72 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.155 H 275.5°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#1C0F72
RGBrgb(28, 15, 114)
HSLhsl(248, 77%, 25%)
HSVhsv(248, 87%, 45%)
CMYKcmyk(75.4%, 86.8%, 0%, 55.3%)
CIE-LABlab(14.42, 38.13, -53.25)
CIE-LCHlch(14.42, 65.49, 305.61°)
OKLaboklab(27.93% 0.0149 -0.1539)
OKLCHoklch(27.93% 0.155 275.5)
XYZxyz(3.6860, 1.8031, 16.0701)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F72 #65720F
analogous
#0F3372 #1C0F72 #4D0F72
triadic
#1C0F72 #721C0F #0F721C
tetradic
#1C0F72 #720F33 #65720F #0F724D
square
#1C0F72 #720F33 #65720F #0F724D
split-complementary
#1C0F72 #724D0F #33720F
monochromatic
#07041B #0F083C #1C0F72 #2916A8 #371DDE

Accessibility & contrast

On white

15.43
#1C0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1C0F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F72
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F72#FFFFFF#000000##FFFFFF
##1C0F721.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1c0f72;
/* rgb */ color: rgb(28, 15, 114);
/* oklch */ color: oklch(27.9% 0.155 275.5);
Tailwind
colors: {
  custom: {
    50: '#68519c',
    500: '#1c0f72',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f72;
$custom-light: #68519c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f72",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 247.879,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27933,
    "c": 0.15464,
    "h": 275.5
  },
  "luminance": 0.01803
}

Semantic roles & 50–950 ramp

primary
#1C0F72
secondary
#9AAA33
accent
#F335DA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1C0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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