#1B0F76#1B0F76

#1B0F76 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.160 H 274.4°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#1B0F76
RGBrgb(27, 15, 118)
HSLhsl(247, 77%, 26%)
HSVhsv(247, 87%, 46%)
CMYKcmyk(77.1%, 87.3%, 0%, 53.7%)
CIE-LABlab(14.86, 39.33, -55.11)
CIE-LCHlch(14.86, 67.71, 305.51°)
OKLaboklab(28.36% 0.0122 -0.1593)
OKLCHoklch(28.36% 0.16 274.4)
XYZxyz(3.8918, 1.8823, 17.2942)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F76 #6A760F
analogous
#0F3676 #1B0F76 #4E0F76
triadic
#1B0F76 #761B0F #0F761B
tetradic
#1B0F76 #760F36 #6A760F #0F764E
square
#1B0F76 #760F36 #6A760F #0F764E
split-complementary
#1B0F76 #764E0F #36760F
monochromatic
#06031B #0F0840 #1B0F76 #2716AC #341DE2

Accessibility & contrast

On white

15.25
#1B0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1B0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F76
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F76#FFFFFF#000000##FFFFFF
##1B0F761.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002174
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b0f76;
/* rgb */ color: rgb(27, 15, 118);
/* oklch */ color: oklch(28.4% 0.160 274.4);
Tailwind
colors: {
  custom: {
    50: '#69529f',
    500: '#1b0f76',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f76;
$custom-light: #69529f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f76",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 246.99,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28363,
    "c": 0.15979,
    "h": 274.4
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#1B0F76
secondary
#9FAD33
accent
#F434DE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #1B0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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