#1A4E78#1A4E78

#1A4E78 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.1% C 0.089 H 246.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#1A4E78
RGBrgb(26, 78, 120)
HSLhsl(207, 64%, 29%)
HSVhsv(207, 78%, 47%)
CMYKcmyk(78.3%, 35%, 0%, 52.9%)
CIE-LABlab(31.86, -1.42, -28.80)
CIE-LCHlch(31.86, 28.84, 267.19°)
OKLaboklab(41.13% -0.035 -0.0818)
OKLCHoklch(41.13% 0.089 246.8)
XYZxyz(6.5393, 7.0237, 18.7767)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E78 #78441A
analogous
#1A7873 #1A4E78 #1A1F78
triadic
#1A4E78 #781A4E #4E781A
tetradic
#1A4E78 #731A78 #78441A #1F781A
square
#1A4E78 #731A78 #78441A #1F781A
split-complementary
#1A4E78 #781A1F #78731A
monochromatic
#051019 #0F2D46 #1A4E78 #256FAA #388ED4

Accessibility & contrast

On white

8.73
#1A4E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1A4E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E78
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E78#FFFFFF#000000##FFFFFF
##1A4E781.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507A
Deuteranopia (green-blind)
#2D4777
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a4e78;
/* rgb */ color: rgb(26, 78, 120);
/* oklch */ color: oklch(41.1% 0.089 246.8);
Tailwind
colors: {
  custom: {
    50: '#657f9f',
    500: '#1a4e78',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e78;
$custom-light: #657f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e78",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 206.809,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41133,
    "c": 0.08899,
    "h": 246.8
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#1A4E78
secondary
#AC7141
accent
#8B40E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1A4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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