#1B2B77#1B2B77

#1B2B77 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.131 H 268.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1B2B77
RGBrgb(27, 43, 119)
HSLhsl(230, 63%, 29%)
HSVhsv(230, 77%, 47%)
CMYKcmyk(77.3%, 63.9%, 0%, 53.3%)
CIE-LABlab(21.18, 22.55, -45.34)
CIE-LCHlch(21.18, 50.64, 296.44°)
OKLaboklab(32.92% -0.0028 -0.131)
OKLCHoklch(32.92% 0.131 268.8)
XYZxyz(4.6445, 3.2922, 17.8399)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B77 #77671B
analogous
#1B5977 #1B2B77 #391B77
triadic
#1B2B77 #771B2B #2B771B
tetradic
#1B2B77 #771B59 #77671B #1B7739
square
#1B2B77 #771B59 #77671B #1B7739
split-complementary
#1B2B77 #77391B #59771B
monochromatic
#060919 #101945 #1B2B77 #263DA9 #3A55D2

Accessibility & contrast

On white

12.66
#1B2B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1B2B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B77
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B77#FFFFFF#000000##FFFFFF
##1B2B771.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2b77;
/* rgb */ color: rgb(27, 43, 119);
/* oklch */ color: oklch(32.9% 0.131 268.8);
Tailwind
colors: {
  custom: {
    50: '#67649f',
    500: '#1b2b77',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b77;
$custom-light: #67649f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b77",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 229.565,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32924,
    "c": 0.13101,
    "h": 268.8
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#1B2B77
secondary
#AB9942
accent
#C942E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1B2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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