#1A2A84#1A2A84

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

Color values

HEX#1A2A84
RGBrgb(26, 42, 132)
HSLhsl(231, 67%, 31%)
HSVhsv(231, 80%, 52%)
CMYKcmyk(80.3%, 68.2%, 0%, 48.2%)
CIE-LABlab(22.09, 28.23, -52.08)
CIE-LCHlch(22.09, 59.24, 298.46°)
OKLaboklab(33.96% -0.0036 -0.1507)
OKLCHoklch(33.96% 0.151 268.6)
XYZxyz(5.4174, 3.5409, 22.2233)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A84 #84741A
analogous
#1A5F84 #1A2A84 #3F1A84
triadic
#1A2A84 #841A2A #2A841A
tetradic
#1A2A84 #841A5F #84741A #1A843F
square
#1A2A84 #841A5F #84741A #1A843F
split-complementary
#1A2A84 #843F1A #5F841A
monochromatic
#06091E #101A51 #1A2A84 #243AB7 #3F56D9

Accessibility & contrast

On white

12.29
#1A2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A84
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A84#FFFFFF#000000##FFFFFF
##1A2A841.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2a84;
/* rgb */ color: rgb(26, 42, 132);
/* oklch */ color: oklch(34.0% 0.151 268.6);
Tailwind
colors: {
  custom: {
    50: '#6a63a9',
    500: '#1a2a84',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a84;
$custom-light: #6a63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a84",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 230.943,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3396,
    "c": 0.15079,
    "h": 268.6
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#1A2A84
secondary
#B8A642
accent
#D03EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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