#2A6B87#2A6B87

#2A6B87 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 49.9% C 0.079 H 229.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2A6B87
RGBrgb(42, 107, 135)
HSLhsl(198, 53%, 35%)
HSVhsv(198, 69%, 53%)
CMYKcmyk(68.9%, 20.7%, 0%, 47.1%)
CIE-LABlab(42.39, -11.14, -21.50)
CIE-LCHlch(42.39, 24.21, 242.60°)
OKLaboklab(49.87% -0.0509 -0.0602)
OKLCHoklch(49.87% 0.079 229.8)
XYZxyz(10.5840, 12.7558, 24.8213)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6B87 #87462A
analogous
#2A8775 #2A6B87 #2A3C87
triadic
#2A6B87 #872A6B #6B872A
tetradic
#2A6B87 #752A87 #87462A #3C872A
square
#2A6B87 #752A87 #87462A #3C872A
split-complementary
#2A6B87 #872A3C #87752A
monochromatic
#0D212A #1B4658 #2A6B87 #3990B6 #5EACCD

Accessibility & contrast

On white

5.91
#2A6B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2A6B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6B87
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6B87#FFFFFF#000000##FFFFFF
##2A6B871.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6988
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#007374
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a6b87;
/* rgb */ color: rgb(42, 107, 135);
/* oklch */ color: oklch(49.9% 0.079 229.8);
Tailwind
colors: {
  custom: {
    50: '#6f95aa',
    500: '#2a6b87',
    950: '#000000',
  },
}
SCSS
$custom: #2a6b87;
$custom-light: #6f95aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6b87",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 135
  },
  "hsl": {
    "h": 198.065,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.49867,
    "c": 0.07885,
    "h": 229.8
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#2A6B87
secondary
#B3755A
accent
#774CDC
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6B87

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

Preview Lab → · Contrast checker → · Palette generator →

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