#1A3D97#1A3D97

#1A3D97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.153 H 264.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#1A3D97
RGBrgb(26, 61, 151)
HSLhsl(223, 71%, 35%)
HSVhsv(223, 83%, 59%)
CMYKcmyk(82.8%, 59.6%, 0%, 40.8%)
CIE-LABlab(28.88, 22.71, -52.75)
CIE-LCHlch(28.88, 57.43, 293.30°)
OKLaboklab(39.52% -0.0153 -0.1525)
OKLCHoklch(39.52% 0.153 264.3)
XYZxyz(7.6787, 5.7905, 29.9851)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D97 #97741A
analogous
#1A7C97 #1A3D97 #361A97
triadic
#1A3D97 #971A3D #3D971A
tetradic
#1A3D97 #971A7C #97741A #1A9736
square
#1A3D97 #971A7C #97741A #1A9736
split-complementary
#1A3D97 #97361A #7C971A
monochromatic
#08132F #112863 #1A3D97 #2352CB #4B75E0

Accessibility & contrast

On white

9.73
#1A3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1A3D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D97
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D97#FFFFFF#000000##FFFFFF
##1A3D971.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3d97;
/* rgb */ color: rgb(26, 61, 151);
/* oklch */ color: oklch(39.5% 0.153 264.3);
Tailwind
colors: {
  custom: {
    50: '#6d72b6',
    500: '#1a3d97',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d97;
$custom-light: #6d72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d97",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 223.2,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39519,
    "c": 0.15323,
    "h": 264.3
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#1A3D97
secondary
#C2A14B
accent
#BB3AED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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