#1A4871#1A4871

#1A4871 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.2% C 0.086 H 248.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1A4871
RGBrgb(26, 72, 113)
HSLhsl(208, 63%, 27%)
HSVhsv(208, 77%, 44%)
CMYKcmyk(77%, 36.3%, 0%, 55.7%)
CIE-LABlab(29.53, -0.27, -28.10)
CIE-LCHlch(29.53, 28.10, 269.45°)
OKLaboklab(39.17% -0.031 -0.0798)
OKLCHoklch(39.17% 0.086 248.8)
XYZxyz(5.7229, 6.0459, 16.4850)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4871 #71431A
analogous
#1A716F #1A4871 #1A1C71
triadic
#1A4871 #711A48 #48711A
tetradic
#1A4871 #6F1A71 #71431A #1C711A
square
#1A4871 #6F1A71 #71431A #1C711A
split-complementary
#1A4871 #711A1C #716F1A
monochromatic
#061019 #0F283F #1A4871 #2568A3 #3587D0

Accessibility & contrast

On white

9.50
#1A4871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1A4871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4871
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4871#FFFFFF#000000##FFFFFF
##1A48711.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4871;
/* rgb */ color: rgb(26, 72, 113);
/* oklch */ color: oklch(39.2% 0.086 248.8);
Tailwind
colors: {
  custom: {
    50: '#647a9a',
    500: '#1a4871',
    950: '#000000',
  },
}
SCSS
$custom: #1a4871;
$custom-light: #647a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4871",
  "rgb": {
    "r": 26,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 208.276,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3917,
    "c": 0.08565,
    "h": 248.8
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#1A4871
secondary
#A67041
accent
#8F42E6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1A4871

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

Preview Lab → · Contrast checker → · Palette generator →

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