#1A3B87#1A3B87

#1A3B87 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.133 H 263.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#1A3B87
RGBrgb(26, 59, 135)
HSLhsl(222, 68%, 32%)
HSVhsv(222, 81%, 53%)
CMYKcmyk(80.7%, 56.3%, 0%, 47.1%)
CIE-LABlab(27.01, 17.63, -45.93)
CIE-LCHlch(27.01, 49.20, 291.00°)
OKLaboklab(37.7% -0.0149 -0.1325)
OKLCHoklch(37.7% 0.133 263.6)
XYZxyz(6.3616, 5.0961, 23.5653)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3B87 #87661A
analogous
#1A7287 #1A3B87 #301A87
triadic
#1A3B87 #871A3B #3B871A
tetradic
#1A3B87 #871A72 #87661A #1A8730
square
#1A3B87 #871A72 #87661A #1A8730
split-complementary
#1A3B87 #87301A #72871A
monochromatic
#060E20 #102554 #1A3B87 #2451BA #416FDA

Accessibility & contrast

On white

10.40
#1A3B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1A3B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3B87
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3B87#FFFFFF#000000##FFFFFF
##1A3B871.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3b87;
/* rgb */ color: rgb(26, 59, 135);
/* oklch */ color: oklch(37.7% 0.133 263.6);
Tailwind
colors: {
  custom: {
    50: '#6970ab',
    500: '#1a3b87',
    950: '#000000',
  },
}
SCSS
$custom: #1a3b87;
$custom-light: #6970ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3b87",
  "rgb": {
    "r": 26,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 221.835,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37701,
    "c": 0.13332,
    "h": 263.6
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#1A3B87
secondary
#BA9642
accent
#B63DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3B87

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

Preview Lab → · Contrast checker → · Palette generator →

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