#1A3C82#1A3C82

#1A3C82 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.5% C 0.125 H 262.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#1A3C82
RGBrgb(26, 60, 130)
HSLhsl(220, 67%, 31%)
HSVhsv(220, 80%, 51%)
CMYKcmyk(80%, 53.8%, 0%, 49%)
CIE-LABlab(26.91, 14.89, -42.97)
CIE-LCHlch(26.91, 45.47, 289.11°)
OKLaboklab(37.51% -0.0162 -0.1237)
OKLCHoklch(37.51% 0.125 262.5)
XYZxyz(6.0697, 5.0623, 21.7720)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C82 #82601A
analogous
#1A7082 #1A3C82 #2C1A82
triadic
#1A3C82 #821A3C #3C821A
tetradic
#1A3C82 #821A70 #82601A #1A822C
square
#1A3C82 #821A70 #82601A #1A822C
split-complementary
#1A3C82 #822C1A #70821A
monochromatic
#060D1C #10244F #1A3C82 #2454B5 #3E70D8

Accessibility & contrast

On white

10.43
#1A3C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1A3C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C82
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C82#FFFFFF#000000##FFFFFF
##1A3C821.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4584
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3c82;
/* rgb */ color: rgb(26, 60, 130);
/* oklch */ color: oklch(37.5% 0.125 262.5);
Tailwind
colors: {
  custom: {
    50: '#6871a7',
    500: '#1a3c82',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c82;
$custom-light: #6871a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c82",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 130
  },
  "hsl": {
    "h": 220.385,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.1248,
    "h": 262.5
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#1A3C82
secondary
#B69042
accent
#B23EEA
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3C82

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

Preview Lab → · Contrast checker → · Palette generator →

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