#2A6786#2A6786

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

Color values

HEX#2A6786
RGBrgb(42, 103, 134)
HSLhsl(200, 52%, 35%)
HSVhsv(200, 69%, 53%)
CMYKcmyk(68.7%, 23.1%, 0%, 47.5%)
CIE-LABlab(41.08, -9.15, -22.93)
CIE-LCHlch(41.08, 24.69, 248.26°)
OKLaboklab(48.8% -0.0469 -0.0643)
OKLCHoklch(48.8% 0.08 233.9)
XYZxyz(10.1065, 11.9129, 24.3164)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6786 #86492A
analogous
#2A8677 #2A6786 #2A3986
triadic
#2A6786 #862A67 #67862A
tetradic
#2A6786 #772A86 #86492A #39862A
square
#2A6786 #772A86 #86492A #39862A
split-complementary
#2A6786 #862A39 #86772A
monochromatic
#0D1F29 #1B4357 #2A6786 #398BB5 #5EA7CD

Accessibility & contrast

On white

6.21
#2A6786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6786
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6786#FFFFFF#000000##FFFFFF
##2A67861.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6786;
/* rgb */ color: rgb(42, 103, 134);
/* oklch */ color: oklch(48.8% 0.080 233.9);
Tailwind
colors: {
  custom: {
    50: '#6f92a9',
    500: '#2a6786',
    950: '#000000',
  },
}
SCSS
$custom: #2a6786;
$custom-light: #6f92a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6786",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 200.217,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.48804,
    "c": 0.07961,
    "h": 233.9
  },
  "luminance": 0.11914
}

Semantic roles & 50–950 ramp

primary
#2A6786
secondary
#B2775A
accent
#7C4CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2A6786

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

Preview Lab → · Contrast checker → · Palette generator →

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