#1A4F7F#1A4F7F

#1A4F7F is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.097 H 249.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#1A4F7F
RGBrgb(26, 79, 127)
HSLhsl(209, 66%, 30%)
HSVhsv(209, 80%, 50%)
CMYKcmyk(79.5%, 37.8%, 0%, 50.2%)
CIE-LABlab(32.58, 0.72, -32.02)
CIE-LCHlch(32.58, 32.03, 271.28°)
OKLaboklab(41.82% -0.0339 -0.0912)
OKLCHoklch(41.82% 0.097 249.6)
XYZxyz(7.0513, 7.3431, 21.1203)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F7F #7F4A1A
analogous
#1A7F7D #1A4F7F #1A1C7F
triadic
#1A4F7F #7F1A4F #4F7F1A
tetradic
#1A4F7F #7D1A7F #7F4A1A #1C7F1A
square
#1A4F7F #7D1A7F #7F4A1A #1C7F1A
split-complementary
#1A4F7F #7F1A1C #7F7D1A
monochromatic
#051019 #102F4C #1A4F7F #246FB2 #3C8ED7

Accessibility & contrast

On white

8.51
#1A4F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1A4F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F7F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F7F#FFFFFF#000000##FFFFFF
##1A4F7F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#2A487E
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a4f7f;
/* rgb */ color: rgb(26, 79, 127);
/* oklch */ color: oklch(41.8% 0.097 249.6);
Tailwind
colors: {
  custom: {
    50: '#6780a4',
    500: '#1a4f7f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f7f;
$custom-light: #6780a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f7f",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 208.515,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.09731,
    "h": 249.6
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#1A4F7F
secondary
#B37842
accent
#903FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A4F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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