#1A3380#1A3380

#1A3380 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.134 H 266.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1A3380
RGBrgb(26, 51, 128)
HSLhsl(225, 66%, 30%)
HSVhsv(225, 80%, 50%)
CMYKcmyk(79.7%, 60.2%, 0%, 49.8%)
CIE-LABlab(24.15, 20.41, -46.20)
CIE-LCHlch(24.15, 50.51, 293.83°)
OKLaboklab(35.37% -0.0094 -0.1334)
OKLCHoklch(35.37% 0.134 266)
XYZxyz(5.5047, 4.1452, 20.9279)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3380 #80671A
analogous
#1A6680 #1A3380 #341A80
triadic
#1A3380 #801A33 #33801A
tetradic
#1A3380 #801A66 #80671A #1A8034
square
#1A3380 #801A66 #80671A #1A8034
split-complementary
#1A3380 #80341A #66801A
monochromatic
#050A1A #101F4D #1A3380 #2447B3 #3D63D8

Accessibility & contrast

On white

11.48
#1A3380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1A3380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3380
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3380#FFFFFF#000000##FFFFFF
##1A33801.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3380;
/* rgb */ color: rgb(26, 51, 128);
/* oklch */ color: oklch(35.4% 0.134 266.0);
Tailwind
colors: {
  custom: {
    50: '#686aa6',
    500: '#1a3380',
    950: '#000000',
  },
}
SCSS
$custom: #1a3380;
$custom-light: #686aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3380",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 225.294,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35367,
    "c": 0.13376,
    "h": 266
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#1A3380
secondary
#B49842
accent
#BF3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A3380

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

Preview Lab → · Contrast checker → · Palette generator →

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