#1A2D81#1A2D81

#1A2D81 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.143 H 267.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#1A2D81
RGBrgb(26, 45, 129)
HSLhsl(229, 66%, 30%)
HSVhsv(229, 80%, 51%)
CMYKcmyk(79.8%, 65.1%, 0%, 49.4%)
CIE-LABlab(22.59, 25.01, -49.38)
CIE-LCHlch(22.59, 55.35, 296.86°)
OKLaboklab(34.24% -0.0053 -0.1428)
OKLCHoklch(34.24% 0.143 267.9)
XYZxyz(5.3255, 3.6808, 21.1944)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D81 #816E1A
analogous
#1A6081 #1A2D81 #3A1A81
triadic
#1A2D81 #811A2D #2D811A
tetradic
#1A2D81 #811A60 #816E1A #1A813A
square
#1A2D81 #811A60 #816E1A #1A813A
split-complementary
#1A2D81 #813A1A #60811A
monochromatic
#05091B #101B4E #1A2D81 #243FB4 #3D5AD8

Accessibility & contrast

On white

12.10
#1A2D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A2D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D81
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D81#FFFFFF#000000##FFFFFF
##1A2D811.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2d81;
/* rgb */ color: rgb(26, 45, 129);
/* oklch */ color: oklch(34.2% 0.143 267.9);
Tailwind
colors: {
  custom: {
    50: '#6965a6',
    500: '#1a2d81',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d81;
$custom-light: #6965a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d81",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 228.932,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34236,
    "c": 0.14292,
    "h": 267.9
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#1A2D81
secondary
#B5A042
accent
#CA3EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2D81

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

Preview Lab → · Contrast checker → · Palette generator →

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