#1A4778#1A4778

#1A4778 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.4% C 0.097 H 253.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1A4778
RGBrgb(26, 71, 120)
HSLhsl(211, 64%, 29%)
HSVhsv(211, 78%, 47%)
CMYKcmyk(78.3%, 40.8%, 0%, 52.9%)
CIE-LABlab(29.62, 3.21, -32.36)
CIE-LCHlch(29.62, 32.52, 275.67°)
OKLaboklab(39.37% -0.028 -0.0923)
OKLCHoklch(39.37% 0.097 253.1)
XYZxyz(6.0681, 6.0815, 18.6197)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4778 #784B1A
analogous
#1A7678 #1A4778 #1C1A78
triadic
#1A4778 #781A47 #47781A
tetradic
#1A4778 #781A76 #784B1A #1A781C
square
#1A4778 #781A76 #784B1A #1A781C
split-complementary
#1A4778 #781C1A #76781A
monochromatic
#050F19 #0F2946 #1A4778 #2565AA #3883D4

Accessibility & contrast

On white

9.47
#1A4778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1A4778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4778
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4778#FFFFFF#000000##FFFFFF
##1A47781.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A7A
Deuteranopia (green-blind)
#214277
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4778;
/* rgb */ color: rgb(26, 71, 120);
/* oklch */ color: oklch(39.4% 0.097 253.1);
Tailwind
colors: {
  custom: {
    50: '#65799f',
    500: '#1a4778',
    950: '#000000',
  },
}
SCSS
$custom: #1a4778;
$custom-light: #65799f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4778",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 120
  },
  "hsl": {
    "h": 211.277,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.0965,
    "h": 253.1
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#1A4778
secondary
#AC7941
accent
#9740E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1A4778

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

Preview Lab → · Contrast checker → · Palette generator →

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