#1B0F71#1B0F71

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

Color values

HEX#1B0F71
RGBrgb(27, 15, 113)
HSLhsl(247, 77%, 25%)
HSVhsv(247, 87%, 44%)
CMYKcmyk(76.1%, 86.7%, 0%, 55.7%)
CIE-LABlab(14.21, 37.73, -52.94)
CIE-LCHlch(14.21, 65.01, 305.48°)
OKLaboklab(27.73% 0.0137 -0.1531)
OKLCHoklch(27.73% 0.154 275.1)
XYZxyz(3.6025, 1.7666, 15.7707)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F71 #65710F
analogous
#0F3471 #1B0F71 #4C0F71
triadic
#1B0F71 #711B0F #0F711B
tetradic
#1B0F71 #710F34 #65710F #0F714C
square
#1B0F71 #710F34 #65710F #0F714C
split-complementary
#1B0F71 #714C0F #34710F
monochromatic
#06041B #0E083B #1B0F71 #2816A7 #351DDD

Accessibility & contrast

On white

15.52
#1B0F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0F71
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F71#FFFFFF#000000##FFFFFF
##1B0F711.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b0f71;
/* rgb */ color: rgb(27, 15, 113);
/* oklch */ color: oklch(27.7% 0.154 275.1);
Tailwind
colors: {
  custom: {
    50: '#68519b',
    500: '#1b0f71',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f71;
$custom-light: #68519b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f71",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 247.347,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27733,
    "c": 0.15367,
    "h": 275.1
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B0F71

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

Preview Lab → · Contrast checker → · Palette generator →

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