#1B27A0#1B27A0

#1B27A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.190 H 268.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#1B27A0
RGBrgb(27, 39, 160)
HSLhsl(235, 71%, 37%)
HSVhsv(235, 83%, 63%)
CMYKcmyk(83.1%, 75.6%, 0%, 37.3%)
CIE-LABlab(24.39, 40.56, -65.61)
CIE-LCHlch(24.39, 77.13, 301.73°)
OKLaboklab(36.51% -0.0044 -0.1901)
OKLCHoklch(36.51% 0.19 268.7)
XYZxyz(7.5205, 4.2212, 33.6693)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B27A0 #A0941B
analogous
#1B6AA0 #1B27A0 #511BA0
triadic
#1B27A0 #A01B27 #27A01B
tetradic
#1B27A0 #A01B6A #A0941B #1BA051
square
#1B27A0 #A01B6A #A0941B #1BA051
split-complementary
#1B27A0 #A0511B #6AA01B
monochromatic
#090D37 #121A6C #1B27A0 #2434D4 #5360E2

Accessibility & contrast

On white

11.39
#1B27A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B27A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B27A0
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B27A0#FFFFFF#000000##FFFFFF
##1B27A01.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b27a0;
/* rgb */ color: rgb(27, 39, 160);
/* oklch */ color: oklch(36.5% 0.190 268.7);
Tailwind
colors: {
  custom: {
    50: '#7262bd',
    500: '#1b27a0',
    950: '#000000',
  },
}
SCSS
$custom: #1b27a0;
$custom-light: #7262bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b27a0",
  "rgb": {
    "r": 27,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 234.586,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.19017,
    "h": 268.7
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#1B27A0
secondary
#C5BB52
accent
#DE3AEE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1B27A0

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

Preview Lab → · Contrast checker → · Palette generator →

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