#1A4F7C#1A4F7C

#1A4F7C is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.6% C 0.093 H 248.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1A4F7C
RGBrgb(26, 79, 124)
HSLhsl(208, 65%, 29%)
HSVhsv(208, 79%, 49%)
CMYKcmyk(79%, 36.3%, 0%, 51.4%)
CIE-LABlab(32.41, -0.48, -30.43)
CIE-LCHlch(32.41, 30.44, 269.10°)
OKLaboklab(41.63% -0.0348 -0.0865)
OKLCHoklch(41.63% 0.093 248.1)
XYZxyz(6.8587, 7.2660, 20.1059)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F7C #7C471A
analogous
#1A7C78 #1A4F7C #1A1E7C
triadic
#1A4F7C #7C1A4F #4F7C1A
tetradic
#1A4F7C #781A7C #7C471A #1E7C1A
square
#1A4F7C #781A7C #7C471A #1E7C1A
split-complementary
#1A4F7C #7C1A1E #7C781A
monochromatic
#051019 #0F2F49 #1A4F7C #256FAF #3B8FD6

Accessibility & contrast

On white

8.56
#1A4F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1A4F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F7C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F7C#FFFFFF#000000##FFFFFF
##1A4F7C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#2C487B
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4f7c;
/* rgb */ color: rgb(26, 79, 124);
/* oklch */ color: oklch(41.6% 0.093 248.1);
Tailwind
colors: {
  custom: {
    50: '#6680a2',
    500: '#1a4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f7c;
$custom-light: #6680a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f7c",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 207.551,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.09329,
    "h": 248.1
  },
  "luminance": 0.07267
}

Semantic roles & 50–950 ramp

primary
#1A4F7C
secondary
#B07442
accent
#8D40E8
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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