#1A2D84#1A2D84

#1A2D84 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.147 H 267.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1A2D84
RGBrgb(26, 45, 132)
HSLhsl(229, 67%, 31%)
HSVhsv(229, 80%, 52%)
CMYKcmyk(80.3%, 65.9%, 0%, 48.2%)
CIE-LABlab(22.87, 26.19, -50.81)
CIE-LCHlch(22.87, 57.16, 297.27°)
OKLaboklab(34.53% -0.0054 -0.147)
OKLCHoklch(34.53% 0.147 267.9)
XYZxyz(5.5278, 3.7617, 22.2601)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D84 #84711A
analogous
#1A6284 #1A2D84 #3C1A84
triadic
#1A2D84 #841A2D #2D841A
tetradic
#1A2D84 #841A62 #84711A #1A843C
square
#1A2D84 #841A62 #84711A #1A843C
split-complementary
#1A2D84 #843C1A #62841A
monochromatic
#060A1E #101C51 #1A2D84 #243EB7 #3F5BD9

Accessibility & contrast

On white

11.98
#1A2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D84
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D84#FFFFFF#000000##FFFFFF
##1A2D841.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2d84;
/* rgb */ color: rgb(26, 45, 132);
/* oklch */ color: oklch(34.5% 0.147 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a65a9',
    500: '#1a2d84',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d84;
$custom-light: #6a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d84",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 229.245,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34529,
    "c": 0.1471,
    "h": 267.9
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#1A2D84
secondary
#B8A342
accent
#CB3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1A2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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