#1A2880#1A2880

#1A2880 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.148 H 269.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1A2880
RGBrgb(26, 40, 128)
HSLhsl(232, 66%, 30%)
HSVhsv(232, 80%, 50%)
CMYKcmyk(79.7%, 68.8%, 0%, 49.8%)
CIE-LABlab(21.19, 28.04, -51.04)
CIE-LCHlch(21.19, 58.24, 298.78°)
OKLaboklab(33.18% -0.0022 -0.1477)
OKLCHoklch(33.18% 0.148 269.1)
XYZxyz(5.0797, 3.2951, 20.7862)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2880 #80721A
analogous
#1A5B80 #1A2880 #3F1A80
triadic
#1A2880 #801A28 #28801A
tetradic
#1A2880 #801A5B #80721A #1A803F
square
#1A2880 #801A5B #80721A #1A803F
split-complementary
#1A2880 #803F1A #5B801A
monochromatic
#05081A #10184D #1A2880 #2438B3 #3D52D8

Accessibility & contrast

On white

12.66
#1A2880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2880
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2880#FFFFFF#000000##FFFFFF
##1A28801.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2880;
/* rgb */ color: rgb(26, 40, 128);
/* oklch */ color: oklch(33.2% 0.148 269.1);
Tailwind
colors: {
  custom: {
    50: '#6962a6',
    500: '#1a2880',
    950: '#000000',
  },
}
SCSS
$custom: #1a2880;
$custom-light: #6962a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2880",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 231.765,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3318,
    "c": 0.14774,
    "h": 269.1
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#1A2880
secondary
#B4A442
accent
#D23FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2880

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

Preview Lab → · Contrast checker → · Palette generator →

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