#1A2A77#1A2A77

#1A2A77 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.133 H 268.7°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#1A2A77
RGBrgb(26, 42, 119)
HSLhsl(230, 64%, 28%)
HSVhsv(230, 78%, 47%)
CMYKcmyk(78.2%, 64.7%, 0%, 53.3%)
CIE-LABlab(20.85, 23.13, -45.87)
CIE-LCHlch(20.85, 51.37, 296.76°)
OKLaboklab(32.67% -0.0031 -0.1326)
OKLCHoklch(32.67% 0.133 268.7)
XYZxyz(4.5826, 3.2070, 17.8267)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A77 #77671A
analogous
#1A5877 #1A2A77 #381A77
triadic
#1A2A77 #771A2A #2A771A
tetradic
#1A2A77 #771A58 #77671A #1A7738
square
#1A2A77 #771A58 #77671A #1A7738
split-complementary
#1A2A77 #77381A #58771A
monochromatic
#050919 #0F1845 #1A2A77 #253CA9 #3853D3

Accessibility & contrast

On white

12.79
#1A2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A2A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A77
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A77#FFFFFF#000000##FFFFFF
##1A2A771.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2a77;
/* rgb */ color: rgb(26, 42, 119);
/* oklch */ color: oklch(32.7% 0.133 268.7);
Tailwind
colors: {
  custom: {
    50: '#66639f',
    500: '#1a2a77',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a77;
$custom-light: #66639f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a77",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 229.677,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3267,
    "c": 0.13261,
    "h": 268.7
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#1A2A77
secondary
#AC9941
accent
#CA41E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1A2A77

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

Preview Lab → · Contrast checker → · Palette generator →

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