#1A4D78#1A4D78

#1A4D78 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.9% C 0.090 H 247.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#1A4D78
RGBrgb(26, 77, 120)
HSLhsl(207, 64%, 29%)
HSVhsv(207, 78%, 47%)
CMYKcmyk(78.3%, 35.8%, 0%, 52.9%)
CIE-LABlab(31.54, -0.77, -29.31)
CIE-LCHlch(31.54, 29.32, 268.51°)
OKLaboklab(40.88% -0.034 -0.0833)
OKLCHoklch(40.88% 0.09 247.8)
XYZxyz(6.4688, 6.8827, 18.7532)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4D78 #78451A
analogous
#1A7874 #1A4D78 #1A1E78
triadic
#1A4D78 #781A4D #4D781A
tetradic
#1A4D78 #741A78 #78451A #1E781A
square
#1A4D78 #741A78 #78451A #1E781A
split-complementary
#1A4D78 #781A1E #78741A
monochromatic
#051019 #0F2D46 #1A4D78 #256DAA #388DD4

Accessibility & contrast

On white

8.84
#1A4D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1A4D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4D78
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4D78#FFFFFF#000000##FFFFFF
##1A4D781.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#2C4677
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1a4d78;
/* rgb */ color: rgb(26, 77, 120);
/* oklch */ color: oklch(40.9% 0.090 247.8);
Tailwind
colors: {
  custom: {
    50: '#657e9f',
    500: '#1a4d78',
    950: '#000000',
  },
}
SCSS
$custom: #1a4d78;
$custom-light: #657e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4d78",
  "rgb": {
    "r": 26,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 207.447,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40879,
    "c": 0.08998,
    "h": 247.8
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#1A4D78
secondary
#AC7241
accent
#8D40E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1A4D78

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

Preview Lab → · Contrast checker → · Palette generator →

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