#1A2776#1A2776

#1A2776 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.135 H 269.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1A2776
RGBrgb(26, 39, 118)
HSLhsl(232, 64%, 28%)
HSVhsv(232, 78%, 46%)
CMYKcmyk(78%, 66.9%, 0%, 53.7%)
CIE-LABlab(19.96, 24.82, -46.70)
CIE-LCHlch(19.96, 52.89, 297.99°)
OKLaboklab(31.98% -0.0009 -0.135)
OKLCHoklch(31.98% 0.135 269.6)
XYZxyz(4.4204, 2.9782, 17.4779)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2776 #76691A
analogous
#1A5576 #1A2776 #3B1A76
triadic
#1A2776 #761A27 #27761A
tetradic
#1A2776 #761A55 #76691A #1A763B
square
#1A2776 #761A55 #76691A #1A763B
split-complementary
#1A2776 #763B1A #55761A
monochromatic
#060819 #0F1644 #1A2776 #2538A8 #374DD3

Accessibility & contrast

On white

13.16
#1A2776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A2776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2776
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2776#FFFFFF#000000##FFFFFF
##1A27761.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2776;
/* rgb */ color: rgb(26, 39, 118);
/* oklch */ color: oklch(32.0% 0.135 269.6);
Tailwind
colors: {
  custom: {
    50: '#66619e',
    500: '#1a2776',
    950: '#000000',
  },
}
SCSS
$custom: #1a2776;
$custom-light: #66619e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2776",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 231.522,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3198,
    "c": 0.13503,
    "h": 269.6
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#1A2776
secondary
#AB9C41
accent
#CF41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1A2776

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

Preview Lab → · Contrast checker → · Palette generator →

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