#1A2176#1A2176

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

Color values

HEX#1A2176
RGBrgb(26, 33, 118)
HSLhsl(235, 64%, 28%)
HSVhsv(235, 78%, 46%)
CMYKcmyk(78%, 72%, 0%, 53.7%)
CIE-LABlab(18.43, 28.90, -49.21)
CIE-LCHlch(18.43, 57.07, 300.43°)
OKLaboklab(30.87% 0.0028 -0.1424)
OKLCHoklch(30.87% 0.142 271.1)
XYZxyz(4.2388, 2.6149, 17.4174)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2176 #766F1A
analogous
#1A4F76 #1A2176 #411A76
triadic
#1A2176 #761A21 #21761A
tetradic
#1A2176 #761A4F #766F1A #1A7641
square
#1A2176 #761A4F #766F1A #1A7641
split-complementary
#1A2176 #76411A #4F761A
monochromatic
#060719 #0F1344 #1A2176 #252FA8 #3743D3

Accessibility & contrast

On white

13.79
#1A2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2176
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2176#FFFFFF#000000##FFFFFF
##1A21761.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2176;
/* rgb */ color: rgb(26, 33, 118);
/* oklch */ color: oklch(30.9% 0.142 271.1);
Tailwind
colors: {
  custom: {
    50: '#675c9e',
    500: '#1a2176',
    950: '#000000',
  },
}
SCSS
$custom: #1a2176;
$custom-light: #675c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2176",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 235.435,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30868,
    "c": 0.14242,
    "h": 271.1
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#1A2176
secondary
#ABA341
accent
#DA41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2176

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

Preview Lab → · Contrast checker → · Palette generator →

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