#2A6785#2A6785

#2A6785 is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 48.8% C 0.079 H 233.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2A6785
RGBrgb(42, 103, 133)
HSLhsl(200, 52%, 34%)
HSVhsv(200, 68%, 52%)
CMYKcmyk(68.4%, 22.6%, 0%, 47.8%)
CIE-LABlab(41.03, -9.50, -22.40)
CIE-LCHlch(41.03, 24.33, 247.02°)
OKLaboklab(48.75% -0.0473 -0.0628)
OKLCHoklch(48.75% 0.079 233)
XYZxyz(10.0371, 11.8851, 23.9508)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6785 #85482A
analogous
#2A8576 #2A6785 #2A3A85
triadic
#2A6785 #852A67 #67852A
tetradic
#2A6785 #762A85 #85482A #3A852A
square
#2A6785 #762A85 #85482A #3A852A
split-complementary
#2A6785 #852A3A #85762A
monochromatic
#0D1F28 #1B4356 #2A6785 #398BB4 #5DA8CC

Accessibility & contrast

On white

6.22
#2A6785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2A6785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6785
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6785#FFFFFF#000000##FFFFFF
##2A67851.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586686
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6785;
/* rgb */ color: rgb(42, 103, 133);
/* oklch */ color: oklch(48.8% 0.079 233.0);
Tailwind
colors: {
  custom: {
    50: '#6f92a8',
    500: '#2a6785',
    950: '#000000',
  },
}
SCSS
$custom: #2a6785;
$custom-light: #6f92a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6785",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 133
  },
  "hsl": {
    "h": 199.78,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.48754,
    "c": 0.0786,
    "h": 233
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#2A6785
secondary
#B27659
accent
#7C4CDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D0F
muted
#7B7D7F

Preview Lab

Preview with #2A6785

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

Preview Lab → · Contrast checker → · Palette generator →

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