#1A2586#1A2586

#1A2586 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.159 H 269.6°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#1A2586
RGBrgb(26, 37, 134)
HSLhsl(234, 68%, 31%)
HSVhsv(234, 81%, 53%)
CMYKcmyk(80.6%, 72.4%, 0%, 47.5%)
CIE-LABlab(21.07, 32.31, -55.02)
CIE-LCHlch(21.07, 63.80, 300.42°)
OKLaboklab(33.28% -0.0012 -0.1593)
OKLCHoklch(33.28% 0.159 269.6)
XYZxyz(5.3892, 3.2634, 22.8955)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2586 #867B1A
analogous
#1A5B86 #1A2586 #451A86
triadic
#1A2586 #861A25 #25861A
tetradic
#1A2586 #861A5B #867B1A #1A8645
square
#1A2586 #861A5B #867B1A #1A8645
split-complementary
#1A2586 #86451A #5B861A
monochromatic
#06091F #101753 #1A2586 #2433B9 #4050DA

Accessibility & contrast

On white

12.71
#1A2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A2586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2586
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2586#FFFFFF#000000##FFFFFF
##1A25861.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2586;
/* rgb */ color: rgb(26, 37, 134);
/* oklch */ color: oklch(33.3% 0.159 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b60aa',
    500: '#1a2586',
    950: '#000000',
  },
}
SCSS
$custom: #1a2586;
$custom-light: #6b60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2586",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 233.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33279,
    "c": 0.15934,
    "h": 269.6
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#1A2586
secondary
#B9AD42
accent
#D93DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A2586

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

Preview Lab → · Contrast checker → · Palette generator →

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