#1B0F72#1B0F72

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

Color values

HEX#1B0F72
RGBrgb(27, 15, 114)
HSLhsl(247, 77%, 25%)
HSVhsv(247, 87%, 45%)
CMYKcmyk(76.3%, 86.8%, 0%, 55.3%)
CIE-LABlab(14.34, 38.06, -53.38)
CIE-LCHlch(14.34, 65.56, 305.48°)
OKLaboklab(27.86% 0.0134 -0.1543)
OKLCHoklch(27.86% 0.155 275)
XYZxyz(3.6591, 1.7892, 16.0688)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F72 #66720F
analogous
#0F3472 #1B0F72 #4D0F72
triadic
#1B0F72 #721B0F #0F721B
tetradic
#1B0F72 #720F34 #66720F #0F724D
square
#1B0F72 #720F34 #66720F #0F724D
split-complementary
#1B0F72 #724D0F #34720F
monochromatic
#06041B #0E083C #1B0F72 #2816A8 #351DDE

Accessibility & contrast

On white

15.46
#1B0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0F72
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F72#FFFFFF#000000##FFFFFF
##1B0F721.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.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: #1b0f72;
/* rgb */ color: rgb(27, 15, 114);
/* oklch */ color: oklch(27.9% 0.155 275.0);
Tailwind
colors: {
  custom: {
    50: '#68519c',
    500: '#1b0f72',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f72;
$custom-light: #68519c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f72",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 247.273,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27858,
    "c": 0.1549,
    "h": 275
  },
  "luminance": 0.0179
}

Semantic roles & 50–950 ramp

primary
#1B0F72
secondary
#9BAA33
accent
#F335DC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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