#1A3E86#1A3E86

#1A3E86 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.128 H 262.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#1A3E86
RGBrgb(26, 62, 134)
HSLhsl(220, 68%, 31%)
HSVhsv(220, 81%, 53%)
CMYKcmyk(80.6%, 53.7%, 0%, 47.5%)
CIE-LABlab(27.81, 15.13, -44.01)
CIE-LCHlch(27.81, 46.54, 288.97°)
OKLaboklab(38.28% -0.0173 -0.1268)
OKLCHoklch(38.28% 0.128 262.2)
XYZxyz(6.4502, 5.3853, 23.2492)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E86 #86621A
analogous
#1A7486 #1A3E86 #2C1A86
triadic
#1A3E86 #861A3E #3E861A
tetradic
#1A3E86 #861A74 #86621A #1A862C
square
#1A3E86 #861A74 #86621A #1A862C
split-complementary
#1A3E86 #862C1A #74861A
monochromatic
#060F1F #102653 #1A3E86 #2456B9 #4074DA

Accessibility & contrast

On white

10.11
#1A3E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1A3E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E86
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E86#FFFFFF#000000##FFFFFF
##1A3E861.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4789
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3e86;
/* rgb */ color: rgb(26, 62, 134);
/* oklch */ color: oklch(38.3% 0.128 262.2);
Tailwind
colors: {
  custom: {
    50: '#6972aa',
    500: '#1a3e86',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e86;
$custom-light: #6972aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e86",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 220,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38282,
    "c": 0.12796,
    "h": 262.2
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#1A3E86
secondary
#B99242
accent
#B13DEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A3E86

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

Preview Lab → · Contrast checker → · Palette generator →

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