#1B1E76#1B1E76

#1B1E76 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.146 H 272.3°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#1B1E76
RGBrgb(27, 30, 118)
HSLhsl(238, 63%, 28%)
HSVhsv(238, 77%, 46%)
CMYKcmyk(77.1%, 74.6%, 0%, 53.7%)
CIE-LABlab(17.78, 30.97, -50.28)
CIE-LCHlch(17.78, 59.05, 301.63°)
OKLaboklab(30.42% 0.0057 -0.1455)
OKLCHoklch(30.42% 0.146 272.3)
XYZxyz(4.1852, 2.4691, 17.3920)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1E76 #76731B
analogous
#1B4B76 #1B1E76 #451B76
triadic
#1B1E76 #761B1E #1E761B
tetradic
#1B1E76 #761B4B #76731B #1B7645
square
#1B1E76 #761B4B #76731B #1B7645
split-complementary
#1B1E76 #76451B #4B761B
monochromatic
#060619 #101144 #1B1E76 #262BA8 #3A3FD2

Accessibility & contrast

On white

14.06
#1B1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1B1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1E76
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1E76#FFFFFF#000000##FFFFFF
##1B1E761.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b1e76;
/* rgb */ color: rgb(27, 30, 118);
/* oklch */ color: oklch(30.4% 0.146 272.3);
Tailwind
colors: {
  custom: {
    50: '#685a9e',
    500: '#1b1e76',
    950: '#000000',
  },
}
SCSS
$custom: #1b1e76;
$custom-light: #685a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1e76",
  "rgb": {
    "r": 27,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 238.022,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30415,
    "c": 0.14559,
    "h": 272.3
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#1B1E76
secondary
#AAA742
accent
#E042E6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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