#1A3F84#1A3F84

#1A3F84 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.124 H 261.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#1A3F84
RGBrgb(26, 63, 132)
HSLhsl(219, 67%, 31%)
HSVhsv(219, 80%, 52%)
CMYKcmyk(80.3%, 52.3%, 0%, 48.2%)
CIE-LABlab(27.95, 13.61, -42.53)
CIE-LCHlch(27.95, 44.66, 287.75°)
OKLaboklab(38.35% -0.0184 -0.1224)
OKLCHoklch(38.35% 0.124 261.5)
XYZxyz(6.3669, 5.4398, 22.5398)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F84 #845F1A
analogous
#1A7484 #1A3F84 #2A1A84
triadic
#1A3F84 #841A3F #3F841A
tetradic
#1A3F84 #841A74 #845F1A #1A842A
square
#1A3F84 #841A74 #845F1A #1A842A
split-complementary
#1A3F84 #842A1A #74841A
monochromatic
#060E1E #102751 #1A3F84 #2457B7 #3F75D9

Accessibility & contrast

On white

10.06
#1A3F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1A3F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F84
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F84#FFFFFF#000000##FFFFFF
##1A3F841.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134786
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3f84;
/* rgb */ color: rgb(26, 63, 132);
/* oklch */ color: oklch(38.3% 0.124 261.5);
Tailwind
colors: {
  custom: {
    50: '#6873a8',
    500: '#1a3f84',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f84;
$custom-light: #6873a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f84",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 219.057,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38347,
    "c": 0.12378,
    "h": 261.5
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#1A3F84
secondary
#B88F42
accent
#AE3EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A3F84

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

Preview Lab → · Contrast checker → · Palette generator →

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