#1A4D7F#1A4D7F

#1A4D7F is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.099 H 251.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#1A4D7F
RGBrgb(26, 77, 127)
HSLhsl(210, 66%, 30%)
HSVhsv(210, 80%, 50%)
CMYKcmyk(79.5%, 39.4%, 0%, 50.2%)
CIE-LABlab(31.94, 2.03, -33.03)
CIE-LCHlch(31.94, 33.09, 273.52°)
OKLaboklab(41.33% -0.032 -0.0942)
OKLCHoklch(41.33% 0.099 251.2)
XYZxyz(6.9092, 7.0589, 21.0729)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4D7F #7F4C1A
analogous
#1A7F7E #1A4D7F #1A1B7F
triadic
#1A4D7F #7F1A4D #4D7F1A
tetradic
#1A4D7F #7E1A7F #7F4C1A #1B7F1A
square
#1A4D7F #7E1A7F #7F4C1A #1B7F1A
split-complementary
#1A4D7F #7F1A1B #7F7E1A
monochromatic
#050F19 #102E4C #1A4D7F #246CB2 #3C8AD7

Accessibility & contrast

On white

8.71
#1A4D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1A4D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4D7F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4D7F#FFFFFF#000000##FFFFFF
##1A4D7F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#26477E
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a4d7f;
/* rgb */ color: rgb(26, 77, 127);
/* oklch */ color: oklch(41.3% 0.099 251.2);
Tailwind
colors: {
  custom: {
    50: '#677ea4',
    500: '#1a4d7f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4d7f;
$custom-light: #677ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4d7f",
  "rgb": {
    "r": 26,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 209.703,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.41326,
    "c": 0.09948,
    "h": 251.2
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#1A4D7F
secondary
#B37A42
accent
#933FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1A4D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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