#1A3281#1A3281

#1A3281 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.137 H 266.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#1A3281
RGBrgb(26, 50, 129)
HSLhsl(226, 66%, 30%)
HSVhsv(226, 80%, 51%)
CMYKcmyk(79.8%, 61.2%, 0%, 49.4%)
CIE-LABlab(23.95, 21.52, -47.15)
CIE-LCHlch(23.95, 51.83, 294.53°)
OKLaboklab(35.25% -0.0087 -0.1362)
OKLCHoklch(35.25% 0.137 266.3)
XYZxyz(5.5277, 4.0852, 21.2618)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3281 #81691A
analogous
#1A6681 #1A3281 #351A81
triadic
#1A3281 #811A32 #32811A
tetradic
#1A3281 #811A66 #81691A #1A8135
square
#1A3281 #811A66 #81691A #1A8135
split-complementary
#1A3281 #81351A #66811A
monochromatic
#050B1B #101E4E #1A3281 #2446B4 #3D61D8

Accessibility & contrast

On white

11.56
#1A3281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1A3281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3281
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3281#FFFFFF#000000##FFFFFF
##1A32811.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a3281;
/* rgb */ color: rgb(26, 50, 129);
/* oklch */ color: oklch(35.2% 0.137 266.3);
Tailwind
colors: {
  custom: {
    50: '#6869a6',
    500: '#1a3281',
    950: '#000000',
  },
}
SCSS
$custom: #1a3281;
$custom-light: #6869a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3281",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 226.019,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35248,
    "c": 0.1365,
    "h": 266.3
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#1A3281
secondary
#B59A42
accent
#C23EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A3281

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

Preview Lab → · Contrast checker → · Palette generator →

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