#1A5982#1A5982

#1A5982 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.5% C 0.092 H 242.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#1A5982
RGBrgb(26, 89, 130)
HSLhsl(204, 67%, 31%)
HSVhsv(204, 80%, 51%)
CMYKcmyk(80%, 31.5%, 0%, 49%)
CIE-LABlab(35.94, -4.50, -28.56)
CIE-LCHlch(35.94, 28.92, 261.04°)
OKLaboklab(44.53% -0.0429 -0.0809)
OKLCHoklch(44.53% 0.092 242.1)
XYZxyz(8.0261, 8.9751, 22.4241)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5982 #82431A
analogous
#1A8277 #1A5982 #1A2582
triadic
#1A5982 #821A59 #59821A
tetradic
#1A5982 #771A82 #82431A #25821A
square
#1A5982 #771A82 #82431A #25821A
split-complementary
#1A5982 #821A25 #82771A
monochromatic
#06131C #10364F #1A5982 #247CB5 #3E9CD8

Accessibility & contrast

On white

7.51
#1A5982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1A5982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5982
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5982#FFFFFF#000000##FFFFFF
##1A59821.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A84
Deuteranopia (green-blind)
#385081
Tritanopia (blue-blind)
#006367
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1a5982;
/* rgb */ color: rgb(26, 89, 130);
/* oklch */ color: oklch(44.5% 0.092 242.1);
Tailwind
colors: {
  custom: {
    50: '#6887a6',
    500: '#1a5982',
    950: '#000000',
  },
}
SCSS
$custom: #1a5982;
$custom-light: #6887a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5982",
  "rgb": {
    "r": 26,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 203.654,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.0916,
    "h": 242.1
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#1A5982
secondary
#B67042
accent
#823EEA
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1A5982

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

Preview Lab → · Contrast checker → · Palette generator →

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