#1A5281#1A5281

#1A5281 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.097 H 248.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1A5281
RGBrgb(26, 82, 129)
HSLhsl(207, 66%, 30%)
HSVhsv(207, 80%, 51%)
CMYKcmyk(79.8%, 36.4%, 0%, 49.4%)
CIE-LABlab(33.64, -0.44, -31.57)
CIE-LCHlch(33.64, 31.57, 269.20°)
OKLaboklab(42.7% -0.0363 -0.0898)
OKLCHoklch(42.7% 0.097 248)
XYZxyz(7.4042, 7.8383, 21.8873)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5281 #81491A
analogous
#1A817D #1A5281 #1A1E81
triadic
#1A5281 #811A52 #52811A
tetradic
#1A5281 #7D1A81 #81491A #1E811A
square
#1A5281 #7D1A81 #81491A #1E811A
split-complementary
#1A5281 #811A1E #817D1A
monochromatic
#05111B #10324E #1A5281 #2472B4 #3D91D8

Accessibility & contrast

On white

8.18
#1A5281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1A5281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5281
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5281#FFFFFF#000000##FFFFFF
##1A52811.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5483
Deuteranopia (green-blind)
#2D4B80
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a5281;
/* rgb */ color: rgb(26, 82, 129);
/* oklch */ color: oklch(42.7% 0.097 248.0);
Tailwind
colors: {
  custom: {
    50: '#6782a6',
    500: '#1a5281',
    950: '#000000',
  },
}
SCSS
$custom: #1a5281;
$custom-light: #6782a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5281",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 207.379,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42699,
    "c": 0.09686,
    "h": 248
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#1A5281
secondary
#B57642
accent
#8C3EE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A5281

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

Preview Lab → · Contrast checker → · Palette generator →

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