#1B0E7F#1B0E7F

#1B0E7F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.171 H 273.2°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#1B0E7F
RGBrgb(27, 14, 127)
HSLhsl(247, 80%, 28%)
HSVhsv(247, 89%, 50%)
CMYKcmyk(78.7%, 89%, 0%, 50.2%)
CIE-LABlab(15.90, 42.57, -59.15)
CIE-LCHlch(15.90, 72.88, 305.74°)
OKLaboklab(29.41% 0.0097 -0.171)
OKLCHoklch(29.41% 0.171 273.2)
XYZxyz(4.4385, 2.0789, 20.2419)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E7F #727F0E
analogous
#0E397F #1B0E7F #540E7F
triadic
#1B0E7F #7F1B0E #0E7F1B
tetradic
#1B0E7F #7F0E39 #727F0E #0E7F54
square
#1B0E7F #7F0E39 #727F0E #0E7F54
split-complementary
#1B0E7F #7F540E #397F0E
monochromatic
#06031C #0F0848 #1B0E7F #2714B6 #3821E7

Accessibility & contrast

On white

14.83
#1B0E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1B0E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E7F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E7F#FFFFFF#000000##FFFFFF
##1B0E7F1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b0e7f;
/* rgb */ color: rgb(27, 14, 127);
/* oklch */ color: oklch(29.4% 0.171 273.2);
Tailwind
colors: {
  custom: {
    50: '#6c52a5',
    500: '#1b0e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e7f;
$custom-light: #6c52a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e7f",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 127
  },
  "hsl": {
    "h": 246.903,
    "s": 80.142,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29414,
    "c": 0.17129,
    "h": 273.2
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#1B0E7F
secondary
#A7B633
accent
#F731E0
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F

Preview Lab

Preview with #1B0E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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