#1B2776#1B2776

#1B2776 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.135 H 270.0°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1B2776
RGBrgb(27, 39, 118)
HSLhsl(232, 63%, 28%)
HSVhsv(232, 77%, 46%)
CMYKcmyk(77.1%, 66.9%, 0%, 53.7%)
CIE-LABlab(20.01, 24.94, -46.61)
CIE-LCHlch(20.01, 52.87, 298.15°)
OKLaboklab(32.03% 0.0001 -0.1347)
OKLCHoklch(32.03% 0.135 270)
XYZxyz(4.4464, 2.9916, 17.4791)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2776 #766A1B
analogous
#1B5476 #1B2776 #3C1B76
triadic
#1B2776 #761B27 #27761B
tetradic
#1B2776 #761B54 #766A1B #1B763C
square
#1B2776 #761B54 #766A1B #1B763C
split-complementary
#1B2776 #763C1B #54761B
monochromatic
#060819 #101744 #1B2776 #2637A8 #3A4ED2

Accessibility & contrast

On white

13.14
#1B2776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B2776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2776
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2776#FFFFFF#000000##FFFFFF
##1B27761.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2776;
/* rgb */ color: rgb(27, 39, 118);
/* oklch */ color: oklch(32.0% 0.135 270.0);
Tailwind
colors: {
  custom: {
    50: '#67619e',
    500: '#1b2776',
    950: '#000000',
  },
}
SCSS
$custom: #1b2776;
$custom-light: #67619e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2776",
  "rgb": {
    "r": 27,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 232.088,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32034,
    "c": 0.13475,
    "h": 270
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#1B2776
secondary
#AA9D42
accent
#D042E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1B2776

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

Preview Lab → · Contrast checker → · Palette generator →

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