#1A4286#1A4286

#1A4286 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.123 H 260.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#1A4286
RGBrgb(26, 66, 134)
HSLhsl(218, 68%, 31%)
HSVhsv(218, 81%, 53%)
CMYKcmyk(80.6%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.00, 12.35, -42.09)
CIE-LCHlch(29.00, 43.86, 286.35°)
OKLaboklab(39.19% -0.0206 -0.121)
OKLCHoklch(39.19% 0.123 260.3)
XYZxyz(6.6757, 5.8365, 23.3244)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4286 #865E1A
analogous
#1A7886 #1A4286 #281A86
triadic
#1A4286 #861A42 #42861A
tetradic
#1A4286 #861A78 #865E1A #1A8628
square
#1A4286 #861A78 #865E1A #1A8628
split-complementary
#1A4286 #86281A #78861A
monochromatic
#06101F #102953 #1A4286 #245BB9 #4079DA

Accessibility & contrast

On white

9.69
#1A4286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1A4286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4286
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4286#FFFFFF#000000##FFFFFF
##1A42861.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A88
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4286;
/* rgb */ color: rgb(26, 66, 134);
/* oklch */ color: oklch(39.2% 0.123 260.3);
Tailwind
colors: {
  custom: {
    50: '#6975aa',
    500: '#1a4286',
    950: '#000000',
  },
}
SCSS
$custom: #1a4286;
$custom-light: #6975aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4286",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 217.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.12278,
    "h": 260.3
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#1A4286
secondary
#B98D42
accent
#AA3DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4286

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

Preview Lab → · Contrast checker → · Palette generator →

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