#1B0F70#1B0F70

#1B0F70 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.6% C 0.152 H 275.3°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#1B0F70
RGBrgb(27, 15, 112)
HSLhsl(247, 76%, 25%)
HSVhsv(247, 87%, 44%)
CMYKcmyk(75.9%, 86.6%, 0%, 56.1%)
CIE-LABlab(14.08, 37.41, -52.51)
CIE-LCHlch(14.08, 64.47, 305.47°)
OKLaboklab(27.61% 0.014 -0.1518)
OKLCHoklch(27.61% 0.152 275.3)
XYZxyz(3.5465, 1.7442, 15.4758)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F70 #64700F
analogous
#0F3370 #1B0F70 #4C0F70
triadic
#1B0F70 #701B0F #0F701B
tetradic
#1B0F70 #700F33 #64700F #0F704C
square
#1B0F70 #700F33 #64700F #0F704C
split-complementary
#1B0F70 #704C0F #33700F
monochromatic
#07041B #0E083A #1B0F70 #2816A6 #351DDC

Accessibility & contrast

On white

15.57
#1B0F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0F70
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F70#FFFFFF#000000##FFFFFF
##1B0F701.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0f70;
/* rgb */ color: rgb(27, 15, 112);
/* oklch */ color: oklch(27.6% 0.152 275.3);
Tailwind
colors: {
  custom: {
    50: '#68519a',
    500: '#1b0f70',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f70;
$custom-light: #68519a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f70",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 247.423,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27607,
    "c": 0.15244,
    "h": 275.3
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#1B0F70
secondary
#99A833
accent
#F335DB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B0F70

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

Preview Lab → · Contrast checker → · Palette generator →

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