#1A4C7C#1A4C7C

#1A4C7C is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.9% C 0.096 H 250.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#1A4C7C
RGBrgb(26, 76, 124)
HSLhsl(209, 65%, 29%)
HSVhsv(209, 79%, 49%)
CMYKcmyk(79%, 38.7%, 0%, 51.4%)
CIE-LABlab(31.45, 1.49, -31.95)
CIE-LCHlch(31.45, 31.99, 272.67°)
OKLaboklab(40.88% -0.0319 -0.0911)
OKLCHoklch(40.88% 0.096 250.7)
XYZxyz(6.6472, 6.8430, 20.0354)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C7C #7C4A1A
analogous
#1A7C7B #1A4C7C #1A1B7C
triadic
#1A4C7C #7C1A4C #4C7C1A
tetradic
#1A4C7C #7B1A7C #7C4A1A #1B7C1A
square
#1A4C7C #7B1A7C #7C4A1A #1B7C1A
split-complementary
#1A4C7C #7C1A1B #7C7B1A
monochromatic
#051019 #0F2D49 #1A4C7C #256BAF #3B8AD6

Accessibility & contrast

On white

8.87
#1A4C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1A4C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C7C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C7C#FFFFFF#000000##FFFFFF
##1A4C7C1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7E
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1a4c7c;
/* rgb */ color: rgb(26, 76, 124);
/* oklch */ color: oklch(40.9% 0.096 250.7);
Tailwind
colors: {
  custom: {
    50: '#667da2',
    500: '#1a4c7c',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c7c;
$custom-light: #667da2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c7c",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 124
  },
  "hsl": {
    "h": 209.388,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.09646,
    "h": 250.7
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#1A4C7C
secondary
#B07842
accent
#9240E8
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1A4C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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