#1A5785#1A5785

#1A5785 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.097 H 245.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#1A5785
RGBrgb(26, 87, 133)
HSLhsl(206, 67%, 31%)
HSVhsv(206, 80%, 52%)
CMYKcmyk(80.5%, 34.6%, 0%, 47.8%)
CIE-LABlab(35.46, -2.07, -31.16)
CIE-LCHlch(35.46, 31.23, 266.20°)
OKLaboklab(44.2% -0.0399 -0.0885)
OKLCHoklch(44.2% 0.097 245.7)
XYZxyz(8.0662, 8.7285, 23.4454)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5785 #85481A
analogous
#1A857D #1A5785 #1A2185
triadic
#1A5785 #851A57 #57851A
tetradic
#1A5785 #7D1A85 #85481A #21851A
square
#1A5785 #7D1A85 #85481A #21851A
split-complementary
#1A5785 #851A21 #857D1A
monochromatic
#06141F #103652 #1A5785 #2478B8 #4097DA

Accessibility & contrast

On white

7.65
#1A5785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1A5785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5785
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5785#FFFFFF#000000##FFFFFF
##1A57851.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425987
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1a5785;
/* rgb */ color: rgb(26, 87, 133);
/* oklch */ color: oklch(44.2% 0.097 245.7);
Tailwind
colors: {
  custom: {
    50: '#6886a9',
    500: '#1a5785',
    950: '#000000',
  },
}
SCSS
$custom: #1a5785;
$custom-light: #6886a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5785",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 133
  },
  "hsl": {
    "h": 205.794,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44198,
    "c": 0.09713,
    "h": 245.7
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#1A5785
secondary
#B87542
accent
#883EEA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1A5785

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

Preview Lab → · Contrast checker → · Palette generator →

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