#1A3397#1A3397

#1A3397 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.166 H 266.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#1A3397
RGBrgb(26, 51, 151)
HSLhsl(228, 71%, 35%)
HSVhsv(228, 83%, 59%)
CMYKcmyk(82.8%, 66.2%, 0%, 40.8%)
CIE-LABlab(26.22, 29.53, -57.10)
CIE-LCHlch(26.22, 64.28, 297.34°)
OKLaboklab(37.54% -0.0095 -0.1653)
OKLCHoklch(37.54% 0.166 266.7)
XYZxyz(7.1938, 4.8208, 29.8235)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3397 #977E1A
analogous
#1A7297 #1A3397 #401A97
triadic
#1A3397 #971A33 #33971A
tetradic
#1A3397 #971A72 #977E1A #1A9740
square
#1A3397 #971A72 #977E1A #1A9740
split-complementary
#1A3397 #97401A #72971A
monochromatic
#08102F #112163 #1A3397 #2345CB #4B69E0

Accessibility & contrast

On white

10.69
#1A3397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1A3397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3397
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3397#FFFFFF#000000##FFFFFF
##1A33971.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a3397;
/* rgb */ color: rgb(26, 51, 151);
/* oklch */ color: oklch(37.5% 0.166 266.7);
Tailwind
colors: {
  custom: {
    50: '#6e6ab7',
    500: '#1a3397',
    950: '#000000',
  },
}
SCSS
$custom: #1a3397;
$custom-light: #6e6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3397",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 228,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37544,
    "c": 0.16561,
    "h": 266.7
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#1A3397
secondary
#C2AA4B
accent
#CA3AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1A3397

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

Preview Lab → · Contrast checker → · Palette generator →

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