#1A4F78#1A4F78

#1A4F78 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.088 H 245.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#1A4F78
RGBrgb(26, 79, 120)
HSLhsl(206, 64%, 29%)
HSVhsv(206, 78%, 47%)
CMYKcmyk(78.3%, 34.2%, 0%, 52.9%)
CIE-LABlab(32.18, -2.06, -28.29)
CIE-LCHlch(32.18, 28.37, 265.83°)
OKLaboklab(41.39% -0.036 -0.0803)
OKLCHoklch(41.39% 0.088 245.8)
XYZxyz(6.6108, 7.1669, 18.8006)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F78 #78431A
analogous
#1A7872 #1A4F78 #1A2078
triadic
#1A4F78 #781A4F #4F781A
tetradic
#1A4F78 #721A78 #78431A #20781A
square
#1A4F78 #721A78 #78431A #20781A
split-complementary
#1A4F78 #781A20 #78721A
monochromatic
#051119 #0F2E46 #1A4F78 #2570AA #3890D4

Accessibility & contrast

On white

8.63
#1A4F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1A4F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F78
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F78#FFFFFF#000000##FFFFFF
##1A4F781.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517A
Deuteranopia (green-blind)
#2F4877
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4f78;
/* rgb */ color: rgb(26, 79, 120);
/* oklch */ color: oklch(41.4% 0.088 245.8);
Tailwind
colors: {
  custom: {
    50: '#65809f',
    500: '#1a4f78',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f78;
$custom-light: #65809f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f78",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 206.17,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41387,
    "c": 0.08802,
    "h": 245.8
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#1A4F78
secondary
#AC7041
accent
#8940E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1A4F78

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

Preview Lab → · Contrast checker → · Palette generator →

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