#1A2882#1A2882

#1A2882 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.150 H 269.1°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#1A2882
RGBrgb(26, 40, 130)
HSLhsl(232, 67%, 31%)
HSVhsv(232, 80%, 51%)
CMYKcmyk(80%, 69.2%, 0%, 49%)
CIE-LABlab(21.39, 28.81, -51.98)
CIE-LCHlch(21.39, 59.43, 299.00°)
OKLaboklab(33.39% -0.0024 -0.1505)
OKLCHoklch(33.39% 0.15 269.1)
XYZxyz(5.2127, 3.3483, 21.4863)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2882 #82741A
analogous
#1A5C82 #1A2882 #401A82
triadic
#1A2882 #821A28 #28821A
tetradic
#1A2882 #821A5C #82741A #1A8240
square
#1A2882 #821A5C #82741A #1A8240
split-complementary
#1A2882 #82401A #5C821A
monochromatic
#06091C #10184F #1A2882 #2438B5 #3E53D8

Accessibility & contrast

On white

12.58
#1A2882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2882
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2882#FFFFFF#000000##FFFFFF
##1A28821.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.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: #1a2882;
/* rgb */ color: rgb(26, 40, 130);
/* oklch */ color: oklch(33.4% 0.150 269.1);
Tailwind
colors: {
  custom: {
    50: '#6a62a7',
    500: '#1a2882',
    950: '#000000',
  },
}
SCSS
$custom: #1a2882;
$custom-light: #6a62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2882",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 231.923,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33386,
    "c": 0.15048,
    "h": 269.1
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#1A2882
secondary
#B6A642
accent
#D33EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #1A2882

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

Preview Lab → · Contrast checker → · Palette generator →

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