#1A4E71#1A4E71

#1A4E71 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.7% C 0.080 H 242.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#1A4E71
RGBrgb(26, 78, 113)
HSLhsl(204, 63%, 27%)
HSVhsv(204, 77%, 44%)
CMYKcmyk(77%, 31%, 0%, 55.7%)
CIE-LABlab(31.49, -4.17, -25.02)
CIE-LCHlch(31.49, 25.36, 260.54°)
OKLaboklab(40.71% -0.0373 -0.0708)
OKLCHoklch(40.71% 0.08 242.2)
XYZxyz(6.1299, 6.8599, 16.6206)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E71 #713D1A
analogous
#1A7169 #1A4E71 #1A2271
triadic
#1A4E71 #711A4E #4E711A
tetradic
#1A4E71 #691A71 #713D1A #22711A
square
#1A4E71 #691A71 #713D1A #22711A
split-complementary
#1A4E71 #711A22 #71691A
monochromatic
#061119 #0F2C3F #1A4E71 #2570A3 #3592D0

Accessibility & contrast

On white

8.85
#1A4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1A4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E71
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E71#FFFFFF#000000##FFFFFF
##1A4E711.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#324670
Tritanopia (blue-blind)
#00575A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1a4e71;
/* rgb */ color: rgb(26, 78, 113);
/* oklch */ color: oklch(40.7% 0.080 242.2);
Tailwind
colors: {
  custom: {
    50: '#647f9a',
    500: '#1a4e71',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e71;
$custom-light: #647f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e71",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 204.138,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40714,
    "c": 0.08,
    "h": 242.2
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#1A4E71
secondary
#A66A41
accent
#8442E6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1A4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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