#1A2076#1A2076

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

Color values

HEX#1A2076
RGBrgb(26, 32, 118)
HSLhsl(236, 64%, 28%)
HSVhsv(236, 78%, 46%)
CMYKcmyk(78%, 72.9%, 0%, 53.7%)
CIE-LABlab(18.19, 29.56, -49.60)
CIE-LCHlch(18.19, 57.75, 300.80°)
OKLaboklab(30.69% 0.0034 -0.1435)
OKLCHoklch(30.69% 0.144 271.4)
XYZxyz(4.2114, 2.5602, 17.4082)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2076 #76701A
analogous
#1A4E76 #1A2076 #421A76
triadic
#1A2076 #761A20 #20761A
tetradic
#1A2076 #761A4E #76701A #1A7642
square
#1A2076 #761A4E #76701A #1A7642
split-complementary
#1A2076 #76421A #4E761A
monochromatic
#060719 #0F1244 #1A2076 #252EA8 #3742D3

Accessibility & contrast

On white

13.89
#1A2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2076
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2076#FFFFFF#000000##FFFFFF
##1A20761.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2076;
/* rgb */ color: rgb(26, 32, 118);
/* oklch */ color: oklch(30.7% 0.144 271.4);
Tailwind
colors: {
  custom: {
    50: '#675c9e',
    500: '#1a2076',
    950: '#000000',
  },
}
SCSS
$custom: #1a2076;
$custom-light: #675c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2076",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 236.087,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30694,
    "c": 0.14359,
    "h": 271.4
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#1A2076
secondary
#ABA441
accent
#DC41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2076

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

Preview Lab → · Contrast checker → · Palette generator →

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