#1A2C77#1A2C77

#1A2C77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.130 H 268.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1A2C77
RGBrgb(26, 44, 119)
HSLhsl(228, 64%, 28%)
HSVhsv(228, 78%, 47%)
CMYKcmyk(78.2%, 63%, 0%, 53.3%)
CIE-LABlab(21.40, 21.72, -44.97)
CIE-LCHlch(21.40, 49.94, 295.78°)
OKLaboklab(33.08% -0.0045 -0.1299)
OKLCHoklch(33.08% 0.13 268)
XYZxyz(4.6553, 3.3524, 17.8509)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C77 #77651A
analogous
#1A5A77 #1A2C77 #361A77
triadic
#1A2C77 #771A2C #2C771A
tetradic
#1A2C77 #771A5A #77651A #1A7736
square
#1A2C77 #771A5A #77651A #1A7736
split-complementary
#1A2C77 #77361A #5A771A
monochromatic
#050919 #0F1945 #1A2C77 #253FA9 #3856D3

Accessibility & contrast

On white

12.57
#1A2C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C77
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C77#FFFFFF#000000##FFFFFF
##1A2C771.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2c77;
/* rgb */ color: rgb(26, 44, 119);
/* oklch */ color: oklch(33.1% 0.130 268.0);
Tailwind
colors: {
  custom: {
    50: '#66649f',
    500: '#1a2c77',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c77;
$custom-light: #66649f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c77",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 228.387,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33077,
    "c": 0.13,
    "h": 268
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#1A2C77
secondary
#AC9741
accent
#C741E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1A2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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