#1A3F85#1A3F85

#1A3F85 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.4% C 0.125 H 261.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1A3F85
RGBrgb(26, 63, 133)
HSLhsl(219, 67%, 31%)
HSVhsv(219, 80%, 52%)
CMYKcmyk(80.5%, 52.6%, 0%, 47.8%)
CIE-LABlab(28.03, 14.02, -43.03)
CIE-LCHlch(28.03, 45.26, 288.05°)
OKLaboklab(38.43% -0.0183 -0.1239)
OKLCHoklch(38.43% 0.125 261.6)
XYZxyz(6.4356, 5.4673, 22.9019)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F85 #85601A
analogous
#1A7485 #1A3F85 #2A1A85
triadic
#1A3F85 #851A3F #3F851A
tetradic
#1A3F85 #851A74 #85601A #1A852A
square
#1A3F85 #851A74 #85601A #1A852A
split-complementary
#1A3F85 #852A1A #74851A
monochromatic
#060F1F #102752 #1A3F85 #2457B8 #4075DA

Accessibility & contrast

On white

10.03
#1A3F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3F85
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F85#FFFFFF#000000##FFFFFF
##1A3F851.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3f85;
/* rgb */ color: rgb(26, 63, 133);
/* oklch */ color: oklch(38.4% 0.125 261.6);
Tailwind
colors: {
  custom: {
    50: '#6973a9',
    500: '#1a3f85',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f85;
$custom-light: #6973a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f85",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 219.252,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38427,
    "c": 0.12522,
    "h": 261.6
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#1A3F85
secondary
#B89042
accent
#AF3EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A3F85

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

Preview Lab → · Contrast checker → · Palette generator →

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