#1B1A7B#1B1A7B

#1B1A7B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.156 H 272.5°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#1B1A7B
RGBrgb(27, 26, 123)
HSLhsl(241, 65%, 29%)
HSVhsv(241, 79%, 48%)
CMYKcmyk(78%, 78.9%, 0%, 51.8%)
CIE-LABlab(17.47, 35.21, -54.00)
CIE-LCHlch(17.47, 64.46, 303.11°)
OKLaboklab(30.36% 0.0068 -0.1563)
OKLCHoklch(30.36% 0.156 272.5)
XYZxyz(4.3953, 2.4014, 18.9669)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1A7B #7A7B1A
analogous
#1A4A7B #1B1A7B #4C1A7B
triadic
#1B1A7B #7B1B1A #1A7B1B
tetradic
#1B1A7B #7B1A4A #7A7B1A #1A7B4C
square
#1B1A7B #7B1A4A #7A7B1A #1A7B4C
split-complementary
#1B1A7B #7B4C1A #4A7B1A
monochromatic
#060519 #100F48 #1B1A7B #2625AE #3C3AD5

Accessibility & contrast

On white

14.19
#1B1A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1B1A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1A7B
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1A7B#FFFFFF#000000##FFFFFF
##1B1A7B1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b1a7b;
/* rgb */ color: rgb(27, 26, 123);
/* oklch */ color: oklch(30.4% 0.156 272.5);
Tailwind
colors: {
  custom: {
    50: '#6958a2',
    500: '#1b1a7b',
    950: '#000000',
  },
}
SCSS
$custom: #1b1a7b;
$custom-light: #6958a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1a7b",
  "rgb": {
    "r": 27,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 240.619,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3036,
    "c": 0.15643,
    "h": 272.5
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#1B1A7B
secondary
#AEAF42
accent
#E840E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1B1A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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