#1A3697#1A3697

#1A3697 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.162 H 266.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#1A3697
RGBrgb(26, 54, 151)
HSLhsl(227, 71%, 35%)
HSVhsv(227, 83%, 59%)
CMYKcmyk(82.8%, 64.2%, 0%, 40.8%)
CIE-LABlab(26.99, 27.50, -55.82)
CIE-LCHlch(26.99, 62.23, 296.23°)
OKLaboklab(38.12% -0.0111 -0.1616)
OKLCHoklch(38.12% 0.162 266.1)
XYZxyz(7.3291, 5.0914, 29.8686)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3697 #977B1A
analogous
#1A7597 #1A3697 #3D1A97
triadic
#1A3697 #971A36 #36971A
tetradic
#1A3697 #971A75 #977B1A #1A973D
square
#1A3697 #971A75 #977B1A #1A973D
split-complementary
#1A3697 #973D1A #75971A
monochromatic
#08112F #112363 #1A3697 #2349CB #4B6DE0

Accessibility & contrast

On white

10.40
#1A3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1A3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3697
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3697#FFFFFF#000000##FFFFFF
##1A36971.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3697;
/* rgb */ color: rgb(26, 54, 151);
/* oklch */ color: oklch(38.1% 0.162 266.1);
Tailwind
colors: {
  custom: {
    50: '#6e6cb7',
    500: '#1a3697',
    950: '#000000',
  },
}
SCSS
$custom: #1a3697;
$custom-light: #6e6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3697",
  "rgb": {
    "r": 26,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 226.56,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38116,
    "c": 0.16197,
    "h": 266.1
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#1A3697
secondary
#C2A74B
accent
#C53AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3697

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

Preview Lab → · Contrast checker → · Palette generator →

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