#1B0E7B#1B0E7B

#1B0E7B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.167 H 273.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#1B0E7B
RGBrgb(27, 14, 123)
HSLhsl(247, 80%, 27%)
HSVhsv(247, 89%, 48%)
CMYKcmyk(78%, 88.6%, 0%, 51.8%)
CIE-LABlab(15.36, 41.34, -57.48)
CIE-LCHlch(15.36, 70.80, 305.72°)
OKLaboklab(28.9% 0.0109 -0.1662)
OKLCHoklch(28.9% 0.167 273.8)
XYZxyz(4.1830, 1.9767, 18.8961)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E7B #6E7B0E
analogous
#0E387B #1B0E7B #520E7B
triadic
#1B0E7B #7B1B0E #0E7B1B
tetradic
#1B0E7B #7B0E38 #6E7B0E #0E7B52
square
#1B0E7B #7B0E38 #6E7B0E #0E7B52
split-complementary
#1B0E7B #7B520E #387B0E
monochromatic
#06031B #0F0844 #1B0E7B #2714B2 #361EE5

Accessibility & contrast

On white

15.05
#1B0E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1B0E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E7B
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E7B#FFFFFF#000000##FFFFFF
##1B0E7B1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B7E
Deuteranopia (green-blind)
#002179
Tritanopia (blue-blind)
#003247
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b0e7b;
/* rgb */ color: rgb(27, 14, 123);
/* oklch */ color: oklch(28.9% 0.167 273.8);
Tailwind
colors: {
  custom: {
    50: '#6b52a2',
    500: '#1b0e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e7b;
$custom-light: #6b52a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e7b",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 123
  },
  "hsl": {
    "h": 247.156,
    "s": 79.562,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28899,
    "c": 0.16654,
    "h": 273.8
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#1B0E7B
secondary
#A3B233
accent
#F632DF
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F

Preview Lab

Preview with #1B0E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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