#1A5178#1A5178

#1A5178 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.9% C 0.086 H 243.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#1A5178
RGBrgb(26, 81, 120)
HSLhsl(205, 64%, 29%)
HSVhsv(205, 78%, 47%)
CMYKcmyk(78.3%, 32.5%, 0%, 52.9%)
CIE-LABlab(32.83, -3.35, -27.27)
CIE-LCHlch(32.83, 27.48, 263.00°)
OKLaboklab(41.9% -0.0381 -0.0773)
OKLCHoklch(41.9% 0.086 243.8)
XYZxyz(6.7573, 7.4597, 18.8494)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5178 #78411A
analogous
#1A7870 #1A5178 #1A2278
triadic
#1A5178 #781A51 #51781A
tetradic
#1A5178 #701A78 #78411A #22781A
square
#1A5178 #701A78 #78411A #22781A
split-complementary
#1A5178 #781A22 #78701A
monochromatic
#051119 #0F2F46 #1A5178 #2573AA #3893D4

Accessibility & contrast

On white

8.43
#1A5178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1A5178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5178
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5178#FFFFFF#000000##FFFFFF
##1A51781.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a5178;
/* rgb */ color: rgb(26, 81, 120);
/* oklch */ color: oklch(41.9% 0.086 243.8);
Tailwind
colors: {
  custom: {
    50: '#65819f',
    500: '#1a5178',
    950: '#000000',
  },
}
SCSS
$custom: #1a5178;
$custom-light: #65819f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5178",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 204.894,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41898,
    "c": 0.08618,
    "h": 243.8
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#1A5178
secondary
#AC6E41
accent
#8640E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1A5178

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

Preview Lab → · Contrast checker → · Palette generator →

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