#1B1769#1B1769

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

Color values

HEX#1B1769
RGBrgb(27, 23, 105)
HSLhsl(243, 64%, 25%)
HSVhsv(243, 78%, 41%)
CMYKcmyk(74.3%, 78.1%, 0%, 58.8%)
CIE-LABlab(14.76, 30.63, -46.80)
CIE-LCHlch(14.76, 55.94, 303.20°)
OKLaboklab(27.84% 0.0121 -0.1353)
OKLCHoklch(27.84% 0.136 275.1)
XYZxyz(3.3074, 1.8654, 13.5476)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1769 #656917
analogous
#173C69 #1B1769 #441769
triadic
#1B1769 #691B17 #17691B
tetradic
#1B1769 #69173C #656917 #176944
square
#1B1769 #69173C #656917 #176944
split-complementary
#1B1769 #694417 #3C6917
monochromatic
#060519 #0E0C37 #1B1769 #28229B #352DCD

Accessibility & contrast

On white

15.29
#1B1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1B1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1769
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1769#FFFFFF#000000##FFFFFF
##1B17691.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b1769;
/* rgb */ color: rgb(27, 23, 105);
/* oklch */ color: oklch(27.8% 0.136 275.1);
Tailwind
colors: {
  custom: {
    50: '#655595',
    500: '#1b1769',
    950: '#000000',
  },
}
SCSS
$custom: #1b1769;
$custom-light: #655595;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1769",
  "rgb": {
    "r": 27,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 242.927,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27836,
    "c": 0.13586,
    "h": 275.1
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#1B1769
secondary
#9A9F3D
accent
#E741DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1B1769

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

Preview Lab → · Contrast checker → · Palette generator →

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