#1A4F7E#1A4F7E

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

Color values

HEX#1A4F7E
RGBrgb(26, 79, 126)
HSLhsl(208, 66%, 30%)
HSVhsv(208, 79%, 49%)
CMYKcmyk(79.4%, 37.3%, 0%, 50.6%)
CIE-LABlab(32.52, 0.32, -31.49)
CIE-LCHlch(32.52, 31.50, 270.58°)
OKLaboklab(41.76% -0.0342 -0.0897)
OKLCHoklch(41.76% 0.096 249.1)
XYZxyz(6.9864, 7.3171, 20.7788)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F7E #7E491A
analogous
#1A7E7B #1A4F7E #1A1D7E
triadic
#1A4F7E #7E1A4F #4F7E1A
tetradic
#1A4F7E #7B1A7E #7E491A #1D7E1A
square
#1A4F7E #7B1A7E #7E491A #1D7E1A
split-complementary
#1A4F7E #7E1A1D #7E7B1A
monochromatic
#051019 #102F4B #1A4F7E #246FB1 #3C8ED7

Accessibility & contrast

On white

8.52
#1A4F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1A4F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F7E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F7E#FFFFFF#000000##FFFFFF
##1A4F7E1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4f7e;
/* rgb */ color: rgb(26, 79, 126);
/* oklch */ color: oklch(41.8% 0.096 249.1);
Tailwind
colors: {
  custom: {
    50: '#6680a3',
    500: '#1a4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f7e;
$custom-light: #6680a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f7e",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 208.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.09597,
    "h": 249.1
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#1A4F7E
secondary
#B27742
accent
#8F3FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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