#1A2286#1A2286

#1A2286 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.163 H 270.1°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#1A2286
RGBrgb(26, 34, 134)
HSLhsl(236, 68%, 31%)
HSVhsv(236, 81%, 53%)
CMYKcmyk(80.6%, 74.6%, 0%, 47.5%)
CIE-LABlab(20.38, 34.21, -56.16)
CIE-LCHlch(20.38, 65.76, 301.35°)
OKLaboklab(32.78% 0.0002 -0.1626)
OKLCHoklch(32.78% 0.163 270.1)
XYZxyz(5.2996, 3.0843, 22.8657)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2286 #867E1A
analogous
#1A5886 #1A2286 #481A86
triadic
#1A2286 #861A22 #22861A
tetradic
#1A2286 #861A58 #867E1A #1A8648
square
#1A2286 #861A58 #867E1A #1A8648
split-complementary
#1A2286 #86481A #58861A
monochromatic
#06081F #101553 #1A2286 #242FB9 #404CDA

Accessibility & contrast

On white

12.99
#1A2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2286
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2286#FFFFFF#000000##FFFFFF
##1A22861.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2286;
/* rgb */ color: rgb(26, 34, 134);
/* oklch */ color: oklch(32.8% 0.163 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b5eaa',
    500: '#1a2286',
    950: '#000000',
  },
}
SCSS
$custom: #1a2286;
$custom-light: #6b5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2286",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 235.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32783,
    "c": 0.16265,
    "h": 270.1
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#1A2286
secondary
#B9B142
accent
#DE3DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2286

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

Preview Lab → · Contrast checker → · Palette generator →

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