#2A6787#2A6787

#2A6787 is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 48.9% C 0.081 H 234.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2A6787
RGBrgb(42, 103, 135)
HSLhsl(201, 53%, 35%)
HSVhsv(201, 69%, 53%)
CMYKcmyk(68.9%, 23.7%, 0%, 47.1%)
CIE-LABlab(41.12, -8.79, -23.47)
CIE-LCHlch(41.12, 25.06, 249.46°)
OKLaboklab(48.85% -0.0465 -0.0659)
OKLCHoklch(48.85% 0.081 234.8)
XYZxyz(10.1766, 11.9409, 24.6855)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6787 #874A2A
analogous
#2A8778 #2A6787 #2A3987
triadic
#2A6787 #872A67 #67872A
tetradic
#2A6787 #782A87 #874A2A #39872A
square
#2A6787 #782A87 #874A2A #39872A
split-complementary
#2A6787 #872A39 #87782A
monochromatic
#0D202A #1B4358 #2A6787 #398BB6 #5EA7CD

Accessibility & contrast

On white

6.20
#2A6787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2A6787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6787
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6787#FFFFFF#000000##FFFFFF
##2A67871.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586689
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6787;
/* rgb */ color: rgb(42, 103, 135);
/* oklch */ color: oklch(48.9% 0.081 234.8);
Tailwind
colors: {
  custom: {
    50: '#6f92aa',
    500: '#2a6787',
    950: '#000000',
  },
}
SCSS
$custom: #2a6787;
$custom-light: #6f92aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6787",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 200.645,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.08064,
    "h": 234.8
  },
  "luminance": 0.11942
}

Semantic roles & 50–950 ramp

primary
#2A6787
secondary
#B3795A
accent
#7D4CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2A6787

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

Preview Lab → · Contrast checker → · Palette generator →

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