#1A3897#1A3897

#1A3897 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.160 H 265.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#1A3897
RGBrgb(26, 56, 151)
HSLhsl(226, 71%, 35%)
HSVhsv(226, 83%, 59%)
CMYKcmyk(82.8%, 62.9%, 0%, 40.8%)
CIE-LABlab(27.52, 26.14, -54.96)
CIE-LCHlch(27.52, 60.86, 295.44°)
OKLaboklab(38.51% -0.0122 -0.159)
OKLCHoklch(38.51% 0.16 265.6)
XYZxyz(7.4241, 5.2814, 29.9003)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3897 #97791A
analogous
#1A7797 #1A3897 #3B1A97
triadic
#1A3897 #971A38 #38971A
tetradic
#1A3897 #971A77 #97791A #1A973B
square
#1A3897 #971A77 #97791A #1A973B
split-complementary
#1A3897 #973B1A #77971A
monochromatic
#08112F #112563 #1A3897 #234BCB #4B6FE0

Accessibility & contrast

On white

10.21
#1A3897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1A3897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3897
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3897#FFFFFF#000000##FFFFFF
##1A38971.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3897;
/* rgb */ color: rgb(26, 56, 151);
/* oklch */ color: oklch(38.5% 0.160 265.6);
Tailwind
colors: {
  custom: {
    50: '#6e6eb6',
    500: '#1a3897',
    950: '#000000',
  },
}
SCSS
$custom: #1a3897;
$custom-light: #6e6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3897",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 225.6,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38507,
    "c": 0.1595,
    "h": 265.6
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#1A3897
secondary
#C2A54B
accent
#C23AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3897

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

Preview Lab → · Contrast checker → · Palette generator →

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