#1A2177#1A2177

#1A2177 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.144 H 271.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1A2177
RGBrgb(26, 33, 119)
HSLhsl(235, 64%, 28%)
HSVhsv(235, 78%, 47%)
CMYKcmyk(78.2%, 72.3%, 0%, 53.3%)
CIE-LABlab(18.54, 29.28, -49.68)
CIE-LCHlch(18.54, 57.66, 300.52°)
OKLaboklab(30.98% 0.0027 -0.1438)
OKLCHoklch(30.98% 0.144 271.1)
XYZxyz(4.2985, 2.6388, 17.7320)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2177 #77701A
analogous
#1A4F77 #1A2177 #411A77
triadic
#1A2177 #771A21 #21771A
tetradic
#1A2177 #771A4F #77701A #1A7741
square
#1A2177 #771A4F #77701A #1A7741
split-complementary
#1A2177 #77411A #4F771A
monochromatic
#050719 #0F1345 #1A2177 #252FA9 #3844D3

Accessibility & contrast

On white

13.75
#1A2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2177
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2177#FFFFFF#000000##FFFFFF
##1A21771.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2177;
/* rgb */ color: rgb(26, 33, 119);
/* oklch */ color: oklch(31.0% 0.144 271.1);
Tailwind
colors: {
  custom: {
    50: '#675c9f',
    500: '#1a2177',
    950: '#000000',
  },
}
SCSS
$custom: #1a2177;
$custom-light: #675c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2177",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 235.484,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30975,
    "c": 0.14379,
    "h": 271.1
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#1A2177
secondary
#ACA441
accent
#DB41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1A2177

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

Preview Lab → · Contrast checker → · Palette generator →

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