#1A4F7D#1A4F7D

#1A4F7D is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.095 H 248.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1A4F7D
RGBrgb(26, 79, 125)
HSLhsl(208, 66%, 30%)
HSVhsv(208, 79%, 49%)
CMYKcmyk(79.2%, 36.8%, 0%, 51%)
CIE-LABlab(32.46, -0.08, -30.96)
CIE-LCHlch(32.46, 30.96, 269.85°)
OKLaboklab(41.7% -0.0345 -0.0881)
OKLCHoklch(41.7% 0.095 248.6)
XYZxyz(6.9222, 7.2914, 20.4406)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F7D #7D481A
analogous
#1A7D7A #1A4F7D #1A1D7D
triadic
#1A4F7D #7D1A4F #4F7D1A
tetradic
#1A4F7D #7A1A7D #7D481A #1D7D1A
square
#1A4F7D #7A1A7D #7D481A #1D7D1A
split-complementary
#1A4F7D #7D1A1D #7D7A1A
monochromatic
#051019 #0F2F4A #1A4F7D #256FB0 #3B8ED6

Accessibility & contrast

On white

8.54
#1A4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4F7D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F7D#FFFFFF#000000##FFFFFF
##1A4F7D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4f7d;
/* rgb */ color: rgb(26, 79, 125);
/* oklch */ color: oklch(41.7% 0.095 248.6);
Tailwind
colors: {
  custom: {
    50: '#6680a3',
    500: '#1a4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f7d;
$custom-light: #6680a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f7d",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 207.879,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.09462,
    "h": 248.6
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#1A4F7D
secondary
#B17542
accent
#8E3FE9
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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