#1A2482#1A2482

#1A2482 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.155 H 269.9°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1A2482
RGBrgb(26, 36, 130)
HSLhsl(234, 67%, 31%)
HSVhsv(234, 80%, 51%)
CMYKcmyk(80%, 72.3%, 0%, 49%)
CIE-LABlab(20.41, 31.46, -53.58)
CIE-LCHlch(20.41, 62.14, 300.42°)
OKLaboklab(32.68% -0.0002 -0.1552)
OKLCHoklch(32.68% 0.155 269.9)
XYZxyz(5.0848, 3.0925, 21.4437)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2482 #82781A
analogous
#1A5882 #1A2482 #441A82
triadic
#1A2482 #821A24 #24821A
tetradic
#1A2482 #821A58 #82781A #1A8244
square
#1A2482 #821A58 #82781A #1A8244
split-complementary
#1A2482 #82441A #58821A
monochromatic
#06081C #10164F #1A2482 #2432B5 #3E4DD8

Accessibility & contrast

On white

12.97
#1A2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2482
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2482#FFFFFF#000000##FFFFFF
##1A24821.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2482;
/* rgb */ color: rgb(26, 36, 130);
/* oklch */ color: oklch(32.7% 0.155 269.9);
Tailwind
colors: {
  custom: {
    50: '#6a5fa7',
    500: '#1a2482',
    950: '#000000',
  },
}
SCSS
$custom: #1a2482;
$custom-light: #6a5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2482",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 234.231,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32677,
    "c": 0.15516,
    "h": 269.9
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#1A2482
secondary
#B6AB42
accent
#D93EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1A2482

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

Preview Lab → · Contrast checker → · Palette generator →

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