#2A6987#2A6987

#2A6987 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.4% C 0.080 H 232.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2A6987
RGBrgb(42, 105, 135)
HSLhsl(199, 53%, 35%)
HSVhsv(199, 69%, 53%)
CMYKcmyk(68.9%, 22.2%, 0%, 47.1%)
CIE-LABlab(41.76, -9.97, -22.48)
CIE-LCHlch(41.76, 24.59, 246.08°)
OKLaboklab(49.36% -0.0487 -0.063)
OKLCHoklch(49.36% 0.08 232.3)
XYZxyz(10.3779, 12.3435, 24.7526)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6987 #87482A
analogous
#2A8777 #2A6987 #2A3B87
triadic
#2A6987 #872A69 #69872A
tetradic
#2A6987 #772A87 #87482A #3B872A
square
#2A6987 #772A87 #87482A #3B872A
split-complementary
#2A6987 #872A3B #87772A
monochromatic
#0D202A #1B4558 #2A6987 #398DB6 #5EA9CD

Accessibility & contrast

On white

6.05
#2A6987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2A6987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6987
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6987#FFFFFF#000000##FFFFFF
##2A69871.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6888
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a6987;
/* rgb */ color: rgb(42, 105, 135);
/* oklch */ color: oklch(49.4% 0.080 232.3);
Tailwind
colors: {
  custom: {
    50: '#6f93aa',
    500: '#2a6987',
    950: '#000000',
  },
}
SCSS
$custom: #2a6987;
$custom-light: #6f93aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6987",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 199.355,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.07967,
    "h": 232.3
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#2A6987
secondary
#B3775A
accent
#7A4CDC
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6987

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

Preview Lab → · Contrast checker → · Palette generator →

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