#1A2E84#1A2E84

#1A2E84 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.146 H 267.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#1A2E84
RGBrgb(26, 46, 132)
HSLhsl(229, 67%, 31%)
HSVhsv(229, 80%, 52%)
CMYKcmyk(80.3%, 65.2%, 0%, 48.2%)
CIE-LABlab(23.13, 25.50, -50.37)
CIE-LCHlch(23.13, 56.46, 296.85°)
OKLaboklab(34.72% -0.006 -0.1457)
OKLCHoklch(34.72% 0.146 267.6)
XYZxyz(5.5664, 3.8389, 22.2729)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E84 #84701A
analogous
#1A6384 #1A2E84 #3B1A84
triadic
#1A2E84 #841A2E #2E841A
tetradic
#1A2E84 #841A63 #84701A #1A843B
square
#1A2E84 #841A63 #84701A #1A843B
split-complementary
#1A2E84 #843B1A #63841A
monochromatic
#060A1E #101C51 #1A2E84 #2440B7 #3F5CD9

Accessibility & contrast

On white

11.88
#1A2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1A2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E84
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E84#FFFFFF#000000##FFFFFF
##1A2E841.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2e84;
/* rgb */ color: rgb(26, 46, 132);
/* oklch */ color: oklch(34.7% 0.146 267.6);
Tailwind
colors: {
  custom: {
    50: '#6a66a9',
    500: '#1a2e84',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e84;
$custom-light: #6a66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e84",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 228.679,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34724,
    "c": 0.14584,
    "h": 267.6
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#1A2E84
secondary
#B8A142
accent
#CA3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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