#1B0E72#1B0E72

#1B0E72 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.156 H 275.1°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#1B0E72
RGBrgb(27, 14, 114)
HSLhsl(248, 78%, 25%)
HSVhsv(248, 88%, 45%)
CMYKcmyk(76.3%, 87.7%, 0%, 55.3%)
CIE-LABlab(14.18, 38.52, -53.64)
CIE-LCHlch(14.18, 66.04, 305.68°)
OKLaboklab(27.75% 0.0137 -0.1551)
OKLCHoklch(27.75% 0.156 275.1)
XYZxyz(3.6453, 1.7616, 16.0642)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E72 #65720E
analogous
#0E3372 #1B0E72 #4D0E72
triadic
#1B0E72 #721B0E #0E721B
tetradic
#1B0E72 #720E33 #65720E #0E724D
square
#1B0E72 #720E33 #65720E #0E724D
split-complementary
#1B0E72 #724D0E #33720E
monochromatic
#06031B #0E073B #1B0E72 #2815A9 #351BDF

Accessibility & contrast

On white

15.53
#1B0E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0E72
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E72#FFFFFF#000000##FFFFFF
##1B0E721.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002875
Deuteranopia (green-blind)
#001F70
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b0e72;
/* rgb */ color: rgb(27, 14, 114);
/* oklch */ color: oklch(27.8% 0.156 275.1);
Tailwind
colors: {
  custom: {
    50: '#68519c',
    500: '#1b0e72',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e72;
$custom-light: #68519c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e72",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 114
  },
  "hsl": {
    "h": 247.8,
    "s": 78.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27751,
    "c": 0.15567,
    "h": 275.1
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#1B0E72
secondary
#9AAA32
accent
#F533DB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B0E72

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

Preview Lab → · Contrast checker → · Palette generator →

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