#1A2A82#1A2A82

#1A2A82 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.148 H 268.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#1A2A82
RGBrgb(26, 42, 130)
HSLhsl(231, 67%, 31%)
HSVhsv(231, 80%, 51%)
CMYKcmyk(80%, 67.7%, 0%, 49%)
CIE-LABlab(21.90, 27.46, -51.14)
CIE-LCHlch(21.90, 58.05, 298.23°)
OKLaboklab(33.76% -0.0035 -0.148)
OKLCHoklch(33.76% 0.148 268.6)
XYZxyz(5.2818, 3.4867, 21.5094)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A82 #82721A
analogous
#1A5E82 #1A2A82 #3E1A82
triadic
#1A2A82 #821A2A #2A821A
tetradic
#1A2A82 #821A5E #82721A #1A823E
square
#1A2A82 #821A5E #82721A #1A823E
split-complementary
#1A2A82 #823E1A #5E821A
monochromatic
#06091C #101A4F #1A2A82 #243AB5 #3E56D8

Accessibility & contrast

On white

12.37
#1A2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A82
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A82#FFFFFF#000000##FFFFFF
##1A2A821.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2a82;
/* rgb */ color: rgb(26, 42, 130);
/* oklch */ color: oklch(33.8% 0.148 268.6);
Tailwind
colors: {
  custom: {
    50: '#6963a7',
    500: '#1a2a82',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a82;
$custom-light: #6963a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a82",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 230.769,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33757,
    "c": 0.14805,
    "h": 268.6
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#1A2A82
secondary
#B6A442
accent
#CF3EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #1A2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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