#1A2982#1A2982

#1A2982 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.149 H 268.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#1A2982
RGBrgb(26, 41, 130)
HSLhsl(231, 67%, 31%)
HSVhsv(231, 80%, 51%)
CMYKcmyk(80%, 68.5%, 0%, 49%)
CIE-LABlab(21.64, 28.14, -51.56)
CIE-LCHlch(21.64, 58.74, 298.62°)
OKLaboklab(33.57% -0.0029 -0.1492)
OKLCHoklch(33.57% 0.149 268.9)
XYZxyz(5.2468, 3.4166, 21.4977)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2982 #82731A
analogous
#1A5D82 #1A2982 #3F1A82
triadic
#1A2982 #821A29 #29821A
tetradic
#1A2982 #821A5D #82731A #1A823F
square
#1A2982 #821A5D #82731A #1A823F
split-complementary
#1A2982 #823F1A #5D821A
monochromatic
#06091C #10194F #1A2982 #2439B5 #3E54D8

Accessibility & contrast

On white

12.47
#1A2982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A2982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2982
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2982#FFFFFF#000000##FFFFFF
##1A29821.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2982;
/* rgb */ color: rgb(26, 41, 130);
/* oklch */ color: oklch(33.6% 0.149 268.9);
Tailwind
colors: {
  custom: {
    50: '#6962a7',
    500: '#1a2982',
    950: '#000000',
  },
}
SCSS
$custom: #1a2982;
$custom-light: #6962a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2982",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 231.346,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3357,
    "c": 0.14927,
    "h": 268.9
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#1A2982
secondary
#B6A542
accent
#D13EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #1A2982

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

Preview Lab → · Contrast checker → · Palette generator →

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