#1A4779#1A4779

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

Color values

HEX#1A4779
RGBrgb(26, 71, 121)
HSLhsl(212, 65%, 29%)
HSVhsv(212, 79%, 47%)
CMYKcmyk(78.5%, 41.3%, 0%, 52.5%)
CIE-LABlab(29.68, 3.62, -32.89)
CIE-LCHlch(29.68, 33.09, 276.27°)
OKLaboklab(39.44% -0.0278 -0.0939)
OKLCHoklch(39.44% 0.098 253.5)
XYZxyz(6.1291, 6.1059, 18.9410)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4779 #794C1A
analogous
#1A7779 #1A4779 #1D1A79
triadic
#1A4779 #791A47 #47791A
tetradic
#1A4779 #791A77 #794C1A #1A791D
square
#1A4779 #791A77 #794C1A #1A791D
split-complementary
#1A4779 #791D1A #77791A
monochromatic
#050F19 #0F2947 #1A4779 #2565AB #3983D4

Accessibility & contrast

On white

9.45
#1A4779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4779
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4779#FFFFFF#000000##FFFFFF
##1A47791.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7B
Deuteranopia (green-blind)
#204278
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4779;
/* rgb */ color: rgb(26, 71, 121);
/* oklch */ color: oklch(39.4% 0.098 253.5);
Tailwind
colors: {
  custom: {
    50: '#6579a0',
    500: '#1a4779',
    950: '#000000',
  },
}
SCSS
$custom: #1a4779;
$custom-light: #6579a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4779",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 211.579,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39441,
    "c": 0.09791,
    "h": 253.5
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#1A4779
secondary
#AD7A41
accent
#9840E8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1A4779

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

Preview Lab → · Contrast checker → · Palette generator →

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