#2A6687#2A6687

#2A6687 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.6% C 0.081 H 236.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2A6687
RGBrgb(42, 102, 135)
HSLhsl(201, 53%, 35%)
HSVhsv(201, 69%, 53%)
CMYKcmyk(68.9%, 24.4%, 0%, 47.1%)
CIE-LABlab(40.80, -8.20, -23.96)
CIE-LCHlch(40.80, 25.32, 251.11°)
OKLaboklab(48.6% -0.0454 -0.0673)
OKLCHoklch(48.6% 0.081 236)
XYZxyz(10.0777, 11.7432, 24.6525)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6687 #874B2A
analogous
#2A8779 #2A6687 #2A3887
triadic
#2A6687 #872A66 #66872A
tetradic
#2A6687 #792A87 #874B2A #38872A
square
#2A6687 #792A87 #874B2A #38872A
split-complementary
#2A6687 #872A38 #87792A
monochromatic
#0D1F2A #1B4358 #2A6687 #3989B6 #5EA6CD

Accessibility & contrast

On white

6.27
#2A6687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2A6687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6687
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6687#FFFFFF#000000##FFFFFF
##2A66871.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566589
Deuteranopia (green-blind)
#4A5C86
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6687;
/* rgb */ color: rgb(42, 102, 135);
/* oklch */ color: oklch(48.6% 0.081 236.0);
Tailwind
colors: {
  custom: {
    50: '#6f91aa',
    500: '#2a6687',
    950: '#000000',
  },
}
SCSS
$custom: #2a6687;
$custom-light: #6f91aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6687",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 135
  },
  "hsl": {
    "h": 201.29,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.08118,
    "h": 236
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#2A6687
secondary
#B37A5A
accent
#7F4CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A6687

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

Preview Lab → · Contrast checker → · Palette generator →

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