#1A3777#1A3777

#1A3777 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.115 H 263.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#1A3777
RGBrgb(26, 55, 119)
HSLhsl(221, 64%, 28%)
HSVhsv(221, 78%, 47%)
CMYKcmyk(78.2%, 53.8%, 0%, 53.3%)
CIE-LABlab(24.59, 13.90, -39.80)
CIE-LCHlch(24.59, 42.16, 289.25°)
OKLaboklab(35.47% -0.0133 -0.1145)
OKLCHoklch(35.47% 0.115 263.4)
XYZxyz(5.1208, 4.2833, 18.0061)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3777 #775A1A
analogous
#1A6577 #1A3777 #2B1A77
triadic
#1A3777 #771A37 #37771A
tetradic
#1A3777 #771A65 #775A1A #1A772B
square
#1A3777 #771A65 #775A1A #1A772B
split-complementary
#1A3777 #772B1A #65771A
monochromatic
#050C19 #0F2045 #1A3777 #254EA9 #3868D3

Accessibility & contrast

On white

11.31
#1A3777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1A3777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3777
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3777#FFFFFF#000000##FFFFFF
##1A37771.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3F79
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3777;
/* rgb */ color: rgb(26, 55, 119);
/* oklch */ color: oklch(35.5% 0.115 263.4);
Tailwind
colors: {
  custom: {
    50: '#656d9f',
    500: '#1a3777',
    950: '#000000',
  },
}
SCSS
$custom: #1a3777;
$custom-light: #656d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3777",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 119
  },
  "hsl": {
    "h": 221.29,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35472,
    "c": 0.1153,
    "h": 263.4
  },
  "luminance": 0.04284
}

Semantic roles & 50–950 ramp

primary
#1A3777
secondary
#AC8A41
accent
#B341E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1A3777

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

Preview Lab → · Contrast checker → · Palette generator →

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