#1A2085#1A2085

#1A2085 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.163 H 270.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1A2085
RGBrgb(26, 32, 133)
HSLhsl(237, 67%, 31%)
HSVhsv(237, 80%, 52%)
CMYKcmyk(80.5%, 75.9%, 0%, 47.8%)
CIE-LABlab(19.82, 35.09, -56.44)
CIE-LCHlch(19.82, 66.46, 301.87°)
OKLaboklab(32.35% 0.0012 -0.1635)
OKLCHoklch(32.35% 0.163 270.4)
XYZxyz(5.1747, 2.9455, 22.4816)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2085 #857F1A
analogous
#1A5585 #1A2085 #491A85
triadic
#1A2085 #851A20 #20851A
tetradic
#1A2085 #851A55 #857F1A #1A8549
square
#1A2085 #851A55 #857F1A #1A8549
split-complementary
#1A2085 #85491A #55851A
monochromatic
#06071F #101452 #1A2085 #242CB8 #4048DA

Accessibility & contrast

On white

13.21
#1A2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2085
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2085#FFFFFF#000000##FFFFFF
##1A20851.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2085;
/* rgb */ color: rgb(26, 32, 133);
/* oklch */ color: oklch(32.4% 0.163 270.4);
Tailwind
colors: {
  custom: {
    50: '#6b5caa',
    500: '#1a2085',
    950: '#000000',
  },
}
SCSS
$custom: #1a2085;
$custom-light: #6b5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2085",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 236.636,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32354,
    "c": 0.16347,
    "h": 270.4
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#1A2085
secondary
#B8B242
accent
#E13EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2085

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

Preview Lab → · Contrast checker → · Palette generator →

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