#1A2686#1A2686

#1A2686 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.158 H 269.4°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#1A2686
RGBrgb(26, 38, 134)
HSLhsl(233, 68%, 31%)
HSVhsv(233, 81%, 53%)
CMYKcmyk(80.6%, 71.6%, 0%, 47.5%)
CIE-LABlab(21.31, 31.66, -54.63)
CIE-LCHlch(21.31, 63.14, 300.09°)
OKLaboklab(33.45% -0.0017 -0.1582)
OKLCHoklch(33.45% 0.158 269.4)
XYZxyz(5.4207, 3.3265, 22.9060)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2686 #867A1A
analogous
#1A5C86 #1A2686 #441A86
triadic
#1A2686 #861A26 #26861A
tetradic
#1A2686 #861A5C #867A1A #1A8644
square
#1A2686 #861A5C #867A1A #1A8644
split-complementary
#1A2686 #86441A #5C861A
monochromatic
#06091F #101753 #1A2686 #2435B9 #4051DA

Accessibility & contrast

On white

12.61
#1A2686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2686
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2686#FFFFFF#000000##FFFFFF
##1A26861.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2686;
/* rgb */ color: rgb(26, 38, 134);
/* oklch */ color: oklch(33.5% 0.158 269.4);
Tailwind
colors: {
  custom: {
    50: '#6b60aa',
    500: '#1a2686',
    950: '#000000',
  },
}
SCSS
$custom: #1a2686;
$custom-light: #6b60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2686",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 233.333,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3345,
    "c": 0.15821,
    "h": 269.4
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#1A2686
secondary
#B9AC42
accent
#D73DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A2686

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

Preview Lab → · Contrast checker → · Palette generator →

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