#1A2B84#1A2B84

#1A2B84 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.150 H 268.4°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#1A2B84
RGBrgb(26, 43, 132)
HSLhsl(230, 67%, 31%)
HSVhsv(230, 80%, 52%)
CMYKcmyk(80.3%, 67.4%, 0%, 48.2%)
CIE-LABlab(22.35, 27.56, -51.66)
CIE-LCHlch(22.35, 58.55, 298.08°)
OKLaboklab(34.15% -0.0042 -0.1495)
OKLCHoklch(34.15% 0.15 268.4)
XYZxyz(5.4533, 3.6127, 22.2352)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B84 #84731A
analogous
#1A6084 #1A2B84 #3E1A84
triadic
#1A2B84 #841A2B #2B841A
tetradic
#1A2B84 #841A60 #84731A #1A843E
square
#1A2B84 #841A60 #84731A #1A843E
split-complementary
#1A2B84 #843E1A #60841A
monochromatic
#060A1E #101A51 #1A2B84 #243CB7 #3F58D9

Accessibility & contrast

On white

12.19
#1A2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1A2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B84
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B84#FFFFFF#000000##FFFFFF
##1A2B841.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2b84;
/* rgb */ color: rgb(26, 43, 132);
/* oklch */ color: oklch(34.1% 0.150 268.4);
Tailwind
colors: {
  custom: {
    50: '#6a64a9',
    500: '#1a2b84',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b84;
$custom-light: #6a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b84",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 230.377,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34147,
    "c": 0.14957,
    "h": 268.4
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#1A2B84
secondary
#B8A542
accent
#CE3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1A2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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