#1A2382#1A2382

#1A2382 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.156 H 270.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#1A2382
RGBrgb(26, 35, 130)
HSLhsl(235, 67%, 31%)
HSVhsv(235, 80%, 51%)
CMYKcmyk(80%, 73.1%, 0%, 49%)
CIE-LABlab(20.17, 32.10, -53.97)
CIE-LCHlch(20.17, 62.80, 300.75°)
OKLaboklab(32.51% 0.0003 -0.1563)
OKLCHoklch(32.51% 0.156 270.1)
XYZxyz(5.0549, 3.0328, 21.4337)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2382 #82791A
analogous
#1A5782 #1A2382 #451A82
triadic
#1A2382 #821A23 #23821A
tetradic
#1A2382 #821A57 #82791A #1A8245
square
#1A2382 #821A57 #82791A #1A8245
split-complementary
#1A2382 #82451A #57821A
monochromatic
#06081C #10154F #1A2382 #2431B5 #3E4BD8

Accessibility & contrast

On white

13.07
#1A2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2382
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2382#FFFFFF#000000##FFFFFF
##1A23821.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.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: #1a2382;
/* rgb */ color: rgb(26, 35, 130);
/* oklch */ color: oklch(32.5% 0.156 270.1);
Tailwind
colors: {
  custom: {
    50: '#6a5ea7',
    500: '#1a2382',
    950: '#000000',
  },
}
SCSS
$custom: #1a2382;
$custom-light: #6a5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2382",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 234.808,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32507,
    "c": 0.15629,
    "h": 270.1
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#1A2382
secondary
#B6AC42
accent
#DB3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1A2382

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

Preview Lab → · Contrast checker → · Palette generator →

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