#1A4978#1A4978

#1A4978 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.094 H 251.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#1A4978
RGBrgb(26, 73, 120)
HSLhsl(210, 64%, 29%)
HSVhsv(210, 78%, 47%)
CMYKcmyk(78.3%, 39.2%, 0%, 52.9%)
CIE-LABlab(30.25, 1.87, -31.35)
CIE-LCHlch(30.25, 31.40, 273.42°)
OKLaboklab(39.87% -0.03 -0.0893)
OKLCHoklch(39.87% 0.094 251.4)
XYZxyz(6.1974, 6.3401, 18.6628)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4978 #78491A
analogous
#1A7878 #1A4978 #1A1A78
triadic
#1A4978 #781A49 #49781A
tetradic
#1A4978 #781A78 #78491A #1A781A
square
#1A4978 #781A78 #78491A #1A781A
split-complementary
#1A4978 #781A1A #78781A
monochromatic
#050F19 #0F2A46 #1A4978 #2568AA #3886D4

Accessibility & contrast

On white

9.26
#1A4978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1A4978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4978
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4978#FFFFFF#000000##FFFFFF
##1A49781.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7A
Deuteranopia (green-blind)
#254377
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a4978;
/* rgb */ color: rgb(26, 73, 120);
/* oklch */ color: oklch(39.9% 0.094 251.4);
Tailwind
colors: {
  custom: {
    50: '#657b9f',
    500: '#1a4978',
    950: '#000000',
  },
}
SCSS
$custom: #1a4978;
$custom-light: #657b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4978",
  "rgb": {
    "r": 26,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 210,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39872,
    "c": 0.09423,
    "h": 251.4
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#1A4978
secondary
#AC7741
accent
#9440E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1A4978

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

Preview Lab → · Contrast checker → · Palette generator →

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