#1A2782#1A2782

#1A2782 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.152 H 269.3°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#1A2782
RGBrgb(26, 39, 130)
HSLhsl(233, 67%, 31%)
HSVhsv(233, 80%, 51%)
CMYKcmyk(80%, 70%, 0%, 49%)
CIE-LABlab(21.14, 29.48, -52.39)
CIE-LCHlch(21.14, 60.11, 299.37°)
OKLaboklab(33.2% -0.0018 -0.1517)
OKLCHoklch(33.2% 0.152 269.3)
XYZxyz(5.1794, 3.2818, 21.4752)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2782 #82751A
analogous
#1A5B82 #1A2782 #411A82
triadic
#1A2782 #821A27 #27821A
tetradic
#1A2782 #821A5B #82751A #1A8241
square
#1A2782 #821A5B #82751A #1A8241
split-complementary
#1A2782 #82411A #5B821A
monochromatic
#06081C #10184F #1A2782 #2436B5 #3E51D8

Accessibility & contrast

On white

12.68
#1A2782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2782
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2782#FFFFFF#000000##FFFFFF
##1A27821.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2782;
/* rgb */ color: rgb(26, 39, 130);
/* oklch */ color: oklch(33.2% 0.152 269.3);
Tailwind
colors: {
  custom: {
    50: '#6a61a7',
    500: '#1a2782',
    950: '#000000',
  },
}
SCSS
$custom: #1a2782;
$custom-light: #6a61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2782",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 232.5,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33204,
    "c": 0.15167,
    "h": 269.3
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#1A2782
secondary
#B6A742
accent
#D43EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2782

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

Preview Lab → · Contrast checker → · Palette generator →

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