#1A2677#1A2677

#1A2677 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.138 H 269.9°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#1A2677
RGBrgb(26, 38, 119)
HSLhsl(232, 64%, 28%)
HSVhsv(232, 78%, 47%)
CMYKcmyk(78.2%, 68.1%, 0%, 53.3%)
CIE-LABlab(19.79, 25.91, -47.61)
CIE-LCHlch(19.79, 54.20, 298.55°)
OKLaboklab(31.89% -0.0003 -0.1377)
OKLCHoklch(31.89% 0.138 269.9)
XYZxyz(4.4477, 2.9373, 17.7817)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2677 #776B1A
analogous
#1A5477 #1A2677 #3C1A77
triadic
#1A2677 #771A26 #26771A
tetradic
#1A2677 #771A54 #776B1A #1A773C
square
#1A2677 #771A54 #776B1A #1A773C
split-complementary
#1A2677 #773C1A #54771A
monochromatic
#050819 #0F1645 #1A2677 #2536A9 #384CD3

Accessibility & contrast

On white

13.23
#1A2677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A2677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2677
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2677#FFFFFF#000000##FFFFFF
##1A26771.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2677;
/* rgb */ color: rgb(26, 38, 119);
/* oklch */ color: oklch(31.9% 0.138 269.9);
Tailwind
colors: {
  custom: {
    50: '#67609f',
    500: '#1a2677',
    950: '#000000',
  },
}
SCSS
$custom: #1a2677;
$custom-light: #67609f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2677",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 119
  },
  "hsl": {
    "h": 232.258,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31888,
    "c": 0.13771,
    "h": 269.9
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#1A2677
secondary
#AC9E41
accent
#D241E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1A2677

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

Preview Lab → · Contrast checker → · Palette generator →

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