#1A2876#1A2876

#1A2876 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.134 H 269.3°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#1A2876
RGBrgb(26, 40, 118)
HSLhsl(231, 64%, 28%)
HSVhsv(231, 78%, 46%)
CMYKcmyk(78%, 66.1%, 0%, 53.7%)
CIE-LABlab(20.22, 24.13, -46.27)
CIE-LCHlch(20.22, 52.18, 297.54°)
OKLaboklab(32.17% -0.0016 -0.1337)
OKLCHoklch(32.17% 0.134 269.3)
XYZxyz(4.4537, 3.0447, 17.4890)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2876 #76681A
analogous
#1A5676 #1A2876 #3A1A76
triadic
#1A2876 #761A28 #28761A
tetradic
#1A2876 #761A56 #76681A #1A763A
square
#1A2876 #761A56 #76681A #1A763A
split-complementary
#1A2876 #763A1A #56761A
monochromatic
#060819 #0F1744 #1A2876 #2539A8 #374FD3

Accessibility & contrast

On white

13.05
#1A2876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2876
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2876#FFFFFF#000000##FFFFFF
##1A28761.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2876;
/* rgb */ color: rgb(26, 40, 118);
/* oklch */ color: oklch(32.2% 0.134 269.3);
Tailwind
colors: {
  custom: {
    50: '#66619e',
    500: '#1a2876',
    950: '#000000',
  },
}
SCSS
$custom: #1a2876;
$custom-light: #66619e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2876",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 230.87,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32175,
    "c": 0.13376,
    "h": 269.3
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#1A2876
secondary
#AB9B41
accent
#CE41E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1A2876

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

Preview Lab → · Contrast checker → · Palette generator →

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