#1A2C84#1A2C84

#1A2C84 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.148 H 268.1°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#1A2C84
RGBrgb(26, 44, 132)
HSLhsl(230, 67%, 31%)
HSVhsv(230, 80%, 52%)
CMYKcmyk(80.3%, 66.7%, 0%, 48.2%)
CIE-LABlab(22.61, 26.87, -51.24)
CIE-LCHlch(22.61, 57.86, 297.68°)
OKLaboklab(34.34% -0.0048 -0.1483)
OKLCHoklch(34.34% 0.148 268.1)
XYZxyz(5.4901, 3.6863, 22.2475)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C84 #84721A
analogous
#1A6184 #1A2C84 #3D1A84
triadic
#1A2C84 #841A2C #2C841A
tetradic
#1A2C84 #841A61 #84721A #1A843D
square
#1A2C84 #841A61 #84721A #1A843D
split-complementary
#1A2C84 #843D1A #61841A
monochromatic
#060A1E #101B51 #1A2C84 #243DB7 #3F59D9

Accessibility & contrast

On white

12.09
#1A2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C84
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C84#FFFFFF#000000##FFFFFF
##1A2C841.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2c84;
/* rgb */ color: rgb(26, 44, 132);
/* oklch */ color: oklch(34.3% 0.148 268.1);
Tailwind
colors: {
  custom: {
    50: '#6a65a9',
    500: '#1a2c84',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c84;
$custom-light: #6a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c84",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 229.811,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34337,
    "c": 0.14834,
    "h": 268.1
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#1A2C84
secondary
#B8A442
accent
#CD3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1A2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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