#1A3E97#1A3E97

#1A3E97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.152 H 264.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#1A3E97
RGBrgb(26, 62, 151)
HSLhsl(223, 71%, 35%)
HSVhsv(223, 83%, 59%)
CMYKcmyk(82.8%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.15, 22.02, -52.29)
CIE-LCHlch(29.15, 56.74, 292.84°)
OKLaboklab(39.73% -0.0159 -0.1511)
OKLCHoklch(39.73% 0.152 264)
XYZxyz(7.7325, 5.8983, 30.0031)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E97 #97731A
analogous
#1A7D97 #1A3E97 #351A97
triadic
#1A3E97 #971A3E #3E971A
tetradic
#1A3E97 #971A7D #97731A #1A9735
square
#1A3E97 #971A7D #97731A #1A9735
split-complementary
#1A3E97 #97351A #7D971A
monochromatic
#08132F #112963 #1A3E97 #2353CB #4B76E0

Accessibility & contrast

On white

9.63
#1A3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1A3E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E97
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E97#FFFFFF#000000##FFFFFF
##1A3E971.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3e97;
/* rgb */ color: rgb(26, 62, 151);
/* oklch */ color: oklch(39.7% 0.152 264.0);
Tailwind
colors: {
  custom: {
    50: '#6d72b6',
    500: '#1a3e97',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e97;
$custom-light: #6d72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e97",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 222.72,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39727,
    "c": 0.15196,
    "h": 264
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#1A3E97
secondary
#C2A04B
accent
#BA3AED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3E97

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

Preview Lab → · Contrast checker → · Palette generator →

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