#1B0E8E#1B0E8E

#1B0E8E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.189 H 271.6°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#1B0E8E
RGBrgb(27, 14, 142)
HSLhsl(246, 82%, 31%)
HSVhsv(246, 90%, 56%)
CMYKcmyk(81%, 90.1%, 0%, 44.3%)
CIE-LABlab(17.92, 47.09, -65.25)
CIE-LCHlch(17.92, 80.47, 305.81°)
OKLaboklab(31.36% 0.0052 -0.1887)
OKLCHoklch(31.36% 0.189 271.6)
XYZxyz(5.4899, 2.4995, 25.7790)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E8E #818E0E
analogous
#0E418E #1B0E8E #5B0E8E
triadic
#1B0E8E #8E1B0E #0E8E1B
tetradic
#1B0E8E #8E0E41 #818E0E #0E8E5B
square
#1B0E8E #8E0E41 #818E0E #0E8E5B
split-complementary
#1B0E8E #8E5B0E #418E0E
monochromatic
#06031F #100956 #1B0E8E #2613C6 #3F2CEA

Accessibility & contrast

On white

14.00
#1B0E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1B0E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E8E
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E8E#FFFFFF#000000##FFFFFF
##1B0E8E1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00258C
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b0e8e;
/* rgb */ color: rgb(27, 14, 142);
/* oklch */ color: oklch(31.4% 0.189 271.6);
Tailwind
colors: {
  custom: {
    50: '#7054b1',
    500: '#1b0e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e8e;
$custom-light: #7054b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e8e",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 142
  },
  "hsl": {
    "h": 246.094,
    "s": 82.051,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31361,
    "c": 0.18872,
    "h": 271.6
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#1B0E8E
secondary
#B5C335
accent
#F82FE4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1B0E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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