#1A2984#1A2984

#1A2984 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.152 H 268.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#1A2984
RGBrgb(26, 41, 132)
HSLhsl(232, 67%, 31%)
HSVhsv(232, 80%, 52%)
CMYKcmyk(80.3%, 68.9%, 0%, 48.2%)
CIE-LABlab(21.84, 28.91, -52.50)
CIE-LCHlch(21.84, 59.93, 298.84°)
OKLaboklab(33.78% -0.0031 -0.152)
OKLCHoklch(33.78% 0.152 268.8)
XYZxyz(5.3824, 3.4708, 22.2116)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2984 #84751A
analogous
#1A5E84 #1A2984 #401A84
triadic
#1A2984 #841A29 #29841A
tetradic
#1A2984 #841A5E #84751A #1A8440
square
#1A2984 #841A5E #84751A #1A8440
split-complementary
#1A2984 #84401A #5E841A
monochromatic
#06091E #101951 #1A2984 #2439B7 #3F55D9

Accessibility & contrast

On white

12.40
#1A2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2984
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2984#FFFFFF#000000##FFFFFF
##1A29841.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2984;
/* rgb */ color: rgb(26, 41, 132);
/* oklch */ color: oklch(33.8% 0.152 268.8);
Tailwind
colors: {
  custom: {
    50: '#6a63a9',
    500: '#1a2984',
    950: '#000000',
  },
}
SCSS
$custom: #1a2984;
$custom-light: #6a63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2984",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 231.509,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33775,
    "c": 0.152,
    "h": 268.8
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#1A2984
secondary
#B8A742
accent
#D23EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2984

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

Preview Lab → · Contrast checker → · Palette generator →

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