#1A2E86#1A2E86

#1A2E86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.149 H 267.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1A2E86
RGBrgb(26, 46, 134)
HSLhsl(229, 68%, 31%)
HSVhsv(229, 81%, 53%)
CMYKcmyk(80.6%, 65.7%, 0%, 47.5%)
CIE-LABlab(23.32, 26.29, -51.32)
CIE-LCHlch(23.32, 57.66, 297.12°)
OKLaboklab(34.92% -0.0061 -0.1485)
OKLCHoklch(34.92% 0.149 267.7)
XYZxyz(5.7046, 3.8942, 23.0006)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E86 #86721A
analogous
#1A6486 #1A2E86 #3C1A86
triadic
#1A2E86 #861A2E #2E861A
tetradic
#1A2E86 #861A64 #86721A #1A863C
square
#1A2E86 #861A64 #86721A #1A863C
split-complementary
#1A2E86 #863C1A #64861A
monochromatic
#060B1F #101C53 #1A2E86 #2440B9 #405DDA

Accessibility & contrast

On white

11.80
#1A2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1A2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E86
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E86#FFFFFF#000000##FFFFFF
##1A2E861.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a2e86;
/* rgb */ color: rgb(26, 46, 134);
/* oklch */ color: oklch(34.9% 0.149 267.7);
Tailwind
colors: {
  custom: {
    50: '#6a66aa',
    500: '#1a2e86',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e86;
$custom-light: #6a66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e86",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 228.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34919,
    "c": 0.14862,
    "h": 267.7
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#1A2E86
secondary
#B9A342
accent
#CA3DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1A2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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