#1A4F84#1A4F84

#1A4F84 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.104 H 251.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#1A4F84
RGBrgb(26, 79, 132)
HSLhsl(210, 67%, 31%)
HSVhsv(210, 80%, 52%)
CMYKcmyk(80.3%, 40.2%, 0%, 48.2%)
CIE-LABlab(32.87, 2.72, -34.65)
CIE-LCHlch(32.87, 34.75, 274.49°)
OKLaboklab(42.15% -0.0326 -0.0989)
OKLCHoklch(42.15% 0.104 251.8)
XYZxyz(7.3853, 7.4766, 22.8792)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F84 #844F1A
analogous
#1A8484 #1A4F84 #1A1A84
triadic
#1A4F84 #841A4F #4F841A
tetradic
#1A4F84 #841A84 #844F1A #1A841A
square
#1A4F84 #841A84 #844F1A #1A841A
split-complementary
#1A4F84 #841A1A #84841A
monochromatic
#06121E #103051 #1A4F84 #246EB7 #3F8CD9

Accessibility & contrast

On white

8.41
#1A4F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1A4F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F84
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F84#FFFFFF#000000##FFFFFF
##1A4F841.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365386
Deuteranopia (green-blind)
#254983
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a4f84;
/* rgb */ color: rgb(26, 79, 132);
/* oklch */ color: oklch(42.1% 0.104 251.8);
Tailwind
colors: {
  custom: {
    50: '#687fa8',
    500: '#1a4f84',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f84;
$custom-light: #687fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f84",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 210,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42148,
    "c": 0.10412,
    "h": 251.8
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#1A4F84
secondary
#B87D42
accent
#943EEA
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A4F84

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

Preview Lab → · Contrast checker → · Palette generator →

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