#1A5186#1A5186

#1A5186 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.105 H 251.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1A5186
RGBrgb(26, 81, 134)
HSLhsl(209, 68%, 31%)
HSVhsv(209, 81%, 53%)
CMYKcmyk(80.6%, 39.6%, 0%, 47.5%)
CIE-LABlab(33.62, 2.21, -34.69)
CIE-LCHlch(33.62, 34.76, 273.64°)
OKLaboklab(42.77% -0.0339 -0.099)
OKLCHoklch(42.77% 0.105 251.1)
XYZxyz(7.6699, 7.8248, 23.6557)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5186 #864F1A
analogous
#1A8685 #1A5186 #1A1B86
triadic
#1A5186 #861A51 #51861A
tetradic
#1A5186 #851A86 #864F1A #1B861A
square
#1A5186 #851A86 #864F1A #1B861A
split-complementary
#1A5186 #861A1B #86851A
monochromatic
#06131F #103253 #1A5186 #2470B9 #408FDA

Accessibility & contrast

On white

8.19
#1A5186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A5186
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5186#FFFFFF#000000##FFFFFF
##1A51861.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385488
Deuteranopia (green-blind)
#274B85
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a5186;
/* rgb */ color: rgb(26, 81, 134);
/* oklch */ color: oklch(42.8% 0.105 251.1);
Tailwind
colors: {
  custom: {
    50: '#6881a9',
    500: '#1a5186',
    950: '#000000',
  },
}
SCSS
$custom: #1a5186;
$custom-light: #6881a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5186",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 209.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42771,
    "c": 0.10463,
    "h": 251.1
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#1A5186
secondary
#B97D42
accent
#923DEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A5186

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

Preview Lab → · Contrast checker → · Palette generator →

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