#1A2D82#1A2D82

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

Color values

HEX#1A2D82
RGBrgb(26, 45, 130)
HSLhsl(229, 67%, 31%)
HSVhsv(229, 80%, 51%)
CMYKcmyk(80%, 65.4%, 0%, 49%)
CIE-LABlab(22.68, 25.40, -49.86)
CIE-LCHlch(22.68, 55.95, 297.00°)
OKLaboklab(34.33% -0.0053 -0.1442)
OKLCHoklch(34.33% 0.144 267.9)
XYZxyz(5.3923, 3.7075, 21.5462)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D82 #826F1A
analogous
#1A6182 #1A2D82 #3B1A82
triadic
#1A2D82 #821A2D #2D821A
tetradic
#1A2D82 #821A61 #826F1A #1A823B
square
#1A2D82 #821A61 #826F1A #1A823B
split-complementary
#1A2D82 #823B1A #61821A
monochromatic
#060A1C #101B4F #1A2D82 #243FB5 #3E5AD8

Accessibility & contrast

On white

12.06
#1A2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2D82
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D82#FFFFFF#000000##FFFFFF
##1A2D821.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2d82;
/* rgb */ color: rgb(26, 45, 130);
/* oklch */ color: oklch(34.3% 0.144 267.9);
Tailwind
colors: {
  custom: {
    50: '#6965a7',
    500: '#1a2d82',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d82;
$custom-light: #6965a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d82",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 229.038,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34333,
    "c": 0.14432,
    "h": 267.9
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#1A2D82
secondary
#B6A142
accent
#CA3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1A2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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