#1A3187#1A3187

#1A3187 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.146 H 266.9°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#1A3187
RGBrgb(26, 49, 135)
HSLhsl(227, 68%, 32%)
HSVhsv(227, 81%, 53%)
CMYKcmyk(80.7%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.21, 24.61, -50.49)
CIE-LCHlch(24.21, 56.17, 295.99°)
OKLaboklab(35.6% -0.008 -0.146)
OKLCHoklch(35.6% 0.146 266.9)
XYZxyz(5.8960, 4.1648, 23.4101)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3187 #87701A
analogous
#1A6887 #1A3187 #391A87
triadic
#1A3187 #871A31 #31871A
tetradic
#1A3187 #871A68 #87701A #1A8739
square
#1A3187 #871A68 #87701A #1A8739
split-complementary
#1A3187 #87391A #68871A
monochromatic
#060C20 #101E54 #1A3187 #2444BA #4161DA

Accessibility & contrast

On white

11.46
#1A3187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3187
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3187#FFFFFF#000000##FFFFFF
##1A31871.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3187;
/* rgb */ color: rgb(26, 49, 135);
/* oklch */ color: oklch(35.6% 0.146 266.9);
Tailwind
colors: {
  custom: {
    50: '#6a68ab',
    500: '#1a3187',
    950: '#000000',
  },
}
SCSS
$custom: #1a3187;
$custom-light: #6a68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3187",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 227.339,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35605,
    "c": 0.14625,
    "h": 266.9
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#1A3187
secondary
#BAA142
accent
#C63DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1A3187

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

Preview Lab → · Contrast checker → · Palette generator →

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