#1B1075#1B1075

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

Color values

HEX#1B1075
RGBrgb(27, 16, 117)
HSLhsl(247, 76%, 26%)
HSVhsv(247, 86%, 46%)
CMYKcmyk(76.9%, 86.3%, 0%, 54.1%)
CIE-LABlab(14.89, 38.54, -54.42)
CIE-LCHlch(14.89, 66.68, 305.31°)
OKLaboklab(28.35% 0.0122 -0.1573)
OKLCHoklch(28.35% 0.158 274.4)
XYZxyz(3.8471, 1.8876, 16.9878)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1075 #6A7510
analogous
#103775 #1B1075 #4D1075
triadic
#1B1075 #751B10 #10751B
tetradic
#1B1075 #751037 #6A7510 #10754D
square
#1B1075 #751037 #6A7510 #10754D
split-complementary
#1B1075 #754D10 #377510
monochromatic
#06041B #0F093F #1B1075 #2717AB #341FE0

Accessibility & contrast

On white

15.24
#1B1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1075
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1075#FFFFFF#000000##FFFFFF
##1B10751.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1075;
/* rgb */ color: rgb(27, 16, 117);
/* oklch */ color: oklch(28.3% 0.158 274.4);
Tailwind
colors: {
  custom: {
    50: '#69529e',
    500: '#1b1075',
    950: '#000000',
  },
}
SCSS
$custom: #1b1075;
$custom-light: #69529e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1075",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 246.535,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28346,
    "c": 0.15781,
    "h": 274.4
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#1B1075
secondary
#9FAC35
accent
#F335DE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B1075

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

Preview Lab → · Contrast checker → · Palette generator →

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