#1A5478#1A5478

#1A5478 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.7% C 0.084 H 240.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#1A5478
RGBrgb(26, 84, 120)
HSLhsl(203, 64%, 29%)
HSVhsv(203, 78%, 47%)
CMYKcmyk(78.3%, 30%, 0%, 52.9%)
CIE-LABlab(33.81, -5.25, -25.74)
CIE-LCHlch(33.81, 26.27, 258.48°)
OKLaboklab(42.67% -0.0412 -0.0728)
OKLCHoklch(42.67% 0.084 240.5)
XYZxyz(6.9852, 7.9155, 18.9254)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5478 #783E1A
analogous
#1A786D #1A5478 #1A2578
triadic
#1A5478 #781A54 #54781A
tetradic
#1A5478 #6D1A78 #783E1A #25781A
square
#1A5478 #6D1A78 #783E1A #25781A
split-complementary
#1A5478 #781A25 #786D1A
monochromatic
#051219 #0F3146 #1A5478 #2577AA #3898D4

Accessibility & contrast

On white

8.13
#1A5478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1A5478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5478
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5478#FFFFFF#000000##FFFFFF
##1A54781.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43547A
Deuteranopia (green-blind)
#364C77
Tritanopia (blue-blind)
#005D61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a5478;
/* rgb */ color: rgb(26, 84, 120);
/* oklch */ color: oklch(42.7% 0.084 240.5);
Tailwind
colors: {
  custom: {
    50: '#65849f',
    500: '#1a5478',
    950: '#000000',
  },
}
SCSS
$custom: #1a5478;
$custom-light: #65849f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5478",
  "rgb": {
    "r": 26,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 202.979,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.08365,
    "h": 240.5
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#1A5478
secondary
#AC6A41
accent
#8040E7
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1A5478

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

Preview Lab → · Contrast checker → · Palette generator →

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