#1A2B77#1A2B77

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

Color values

HEX#1A2B77
RGBrgb(26, 43, 119)
HSLhsl(229, 64%, 28%)
HSVhsv(229, 78%, 47%)
CMYKcmyk(78.2%, 63.9%, 0%, 53.3%)
CIE-LABlab(21.13, 22.42, -45.42)
CIE-LCHlch(21.13, 50.66, 296.27°)
OKLaboklab(32.87% -0.0038 -0.1312)
OKLCHoklch(32.87% 0.131 268.4)
XYZxyz(4.6185, 3.2788, 17.8386)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B77 #77661A
analogous
#1A5977 #1A2B77 #371A77
triadic
#1A2B77 #771A2B #2B771A
tetradic
#1A2B77 #771A59 #77661A #1A7737
square
#1A2B77 #771A59 #77661A #1A7737
split-complementary
#1A2B77 #77371A #59771A
monochromatic
#050919 #0F1945 #1A2B77 #253DA9 #3854D3

Accessibility & contrast

On white

12.68
#1A2B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2B77
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B77#FFFFFF#000000##FFFFFF
##1A2B771.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.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: #1a2b77;
/* rgb */ color: rgb(26, 43, 119);
/* oklch */ color: oklch(32.9% 0.131 268.4);
Tailwind
colors: {
  custom: {
    50: '#66649f',
    500: '#1a2b77',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b77;
$custom-light: #66649f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b77",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 229.032,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32873,
    "c": 0.1313,
    "h": 268.4
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#1A2B77
secondary
#AC9841
accent
#C941E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1A2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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