#2A6C86#2A6C86

#2A6C86 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.1% C 0.078 H 227.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2A6C86
RGBrgb(42, 108, 134)
HSLhsl(197, 52%, 35%)
HSVhsv(197, 69%, 53%)
CMYKcmyk(68.7%, 19.4%, 0%, 47.5%)
CIE-LABlab(42.67, -12.07, -20.47)
CIE-LCHlch(42.67, 23.76, 239.48°)
OKLaboklab(50.07% -0.0524 -0.0573)
OKLCHoklch(50.07% 0.078 227.5)
XYZxyz(10.6188, 12.9375, 24.4872)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6C86 #86442A
analogous
#2A8672 #2A6C86 #2A3E86
triadic
#2A6C86 #862A6C #6C862A
tetradic
#2A6C86 #722A86 #86442A #3E862A
square
#2A6C86 #722A86 #86442A #3E862A
split-complementary
#2A6C86 #862A3E #86722A
monochromatic
#0D2129 #1B4657 #2A6C86 #3992B5 #5EADCD

Accessibility & contrast

On white

5.85
#2A6C86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2A6C86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6C86
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6C86#FFFFFF#000000##FFFFFF
##2A6C861.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6A87
Deuteranopia (green-blind)
#516186
Tritanopia (blue-blind)
#007374
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a6c86;
/* rgb */ color: rgb(42, 108, 134);
/* oklch */ color: oklch(50.1% 0.078 227.5);
Tailwind
colors: {
  custom: {
    50: '#6f96a9',
    500: '#2a6c86',
    950: '#000000',
  },
}
SCSS
$custom: #2a6c86;
$custom-light: #6f96a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6c86",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 134
  },
  "hsl": {
    "h": 196.957,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.07763,
    "h": 227.5
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#2A6C86
secondary
#B2735A
accent
#754CDC
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #2A6C86

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

Preview Lab → · Contrast checker → · Palette generator →

#2A6C86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva