#1A5797#1A5797

#1A5797 is a mid, vivid cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.121 H 253.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#1A5797
RGBrgb(26, 87, 151)
HSLhsl(211, 71%, 35%)
HSVhsv(211, 83%, 59%)
CMYKcmyk(82.8%, 42.4%, 0%, 40.8%)
CIE-LABlab(36.50, 5.09, -40.44)
CIE-LCHlch(36.50, 40.76, 277.17°)
OKLaboklab(45.35% -0.0351 -0.1157)
OKLCHoklch(45.35% 0.121 253.1)
XYZxyz(9.4180, 9.2692, 30.5649)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5797 #975A1A
analogous
#1A9697 #1A5797 #1C1A97
triadic
#1A5797 #971A57 #57971A
tetradic
#1A5797 #971A96 #975A1A #1A971C
square
#1A5797 #971A96 #975A1A #1A971C
split-complementary
#1A5797 #971C1A #96971A
monochromatic
#081B2F #113963 #1A5797 #2375CB #4B94E0

Accessibility & contrast

On white

7.36
#1A5797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1A5797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5797
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5797#FFFFFF#000000##FFFFFF
##1A57971.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#215196
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1a5797;
/* rgb */ color: rgb(26, 87, 151);
/* oklch */ color: oklch(45.4% 0.121 253.1);
Tailwind
colors: {
  custom: {
    50: '#6c85b6',
    500: '#1a5797',
    950: '#000000',
  },
}
SCSS
$custom: #1a5797;
$custom-light: #6c85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5797",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 210.72,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.12094,
    "h": 253.1
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#1A5797
secondary
#C2884B
accent
#963AED
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1A5797

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

Preview Lab → · Contrast checker → · Palette generator →

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