#1A3F82#1A3F82

#1A3F82 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.2% C 0.121 H 261.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#1A3F82
RGBrgb(26, 63, 130)
HSLhsl(219, 67%, 31%)
HSVhsv(219, 80%, 51%)
CMYKcmyk(80%, 51.5%, 0%, 49%)
CIE-LABlab(27.81, 12.79, -41.52)
CIE-LCHlch(27.81, 43.45, 287.12°)
OKLaboklab(38.19% -0.0187 -0.1194)
OKLCHoklch(38.19% 0.121 261.1)
XYZxyz(6.2313, 5.3856, 21.8259)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F82 #825D1A
analogous
#1A7382 #1A3F82 #291A82
triadic
#1A3F82 #821A3F #3F821A
tetradic
#1A3F82 #821A73 #825D1A #1A8229
square
#1A3F82 #821A73 #825D1A #1A8229
split-complementary
#1A3F82 #82291A #73821A
monochromatic
#060E1C #10264F #1A3F82 #2458B5 #3E75D8

Accessibility & contrast

On white

10.11
#1A3F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1A3F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F82
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F82#FFFFFF#000000##FFFFFF
##1A3F821.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164784
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3f82;
/* rgb */ color: rgb(26, 63, 130);
/* oklch */ color: oklch(38.2% 0.121 261.1);
Tailwind
colors: {
  custom: {
    50: '#6873a7',
    500: '#1a3f82',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f82;
$custom-light: #6873a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f82",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 218.654,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38188,
    "c": 0.12088,
    "h": 261.1
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#1A3F82
secondary
#B68D42
accent
#AD3EEA
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A3F82

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

Preview Lab → · Contrast checker → · Palette generator →

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