#1A3D84#1A3D84

#1A3D84 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.126 H 262.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#1A3D84
RGBrgb(26, 61, 132)
HSLhsl(220, 67%, 31%)
HSVhsv(220, 80%, 52%)
CMYKcmyk(80.3%, 53.8%, 0%, 48.2%)
CIE-LABlab(27.36, 15.01, -43.49)
CIE-LCHlch(27.36, 46.01, 289.04°)
OKLaboklab(37.89% -0.0168 -0.1253)
OKLCHoklch(37.89% 0.126 262.4)
XYZxyz(6.2581, 5.2223, 22.5035)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D84 #84611A
analogous
#1A7284 #1A3D84 #2C1A84
triadic
#1A3D84 #841A3D #3D841A
tetradic
#1A3D84 #841A72 #84611A #1A842C
square
#1A3D84 #841A72 #84611A #1A842C
split-complementary
#1A3D84 #842C1A #72841A
monochromatic
#060E1E #102551 #1A3D84 #2455B7 #3F72D9

Accessibility & contrast

On white

10.27
#1A3D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1A3D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D84
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D84#FFFFFF#000000##FFFFFF
##1A3D841.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4687
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3d84;
/* rgb */ color: rgb(26, 61, 132);
/* oklch */ color: oklch(37.9% 0.126 262.4);
Tailwind
colors: {
  custom: {
    50: '#6871a8',
    500: '#1a3d84',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d84;
$custom-light: #6871a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d84",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 220.189,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37894,
    "c": 0.12639,
    "h": 262.4
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#1A3D84
secondary
#B89142
accent
#B13EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3D84

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

Preview Lab → · Contrast checker → · Palette generator →

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