#2A6784#2A6784

#2A6784 is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 48.7% C 0.078 H 232.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2A6784
RGBrgb(42, 103, 132)
HSLhsl(199, 52%, 34%)
HSVhsv(199, 68%, 52%)
CMYKcmyk(68.2%, 22%, 0%, 48.2%)
CIE-LABlab(40.99, -9.85, -21.86)
CIE-LCHlch(40.99, 23.98, 245.75°)
OKLaboklab(48.7% -0.0476 -0.0613)
OKLCHoklch(48.7% 0.078 232.1)
XYZxyz(9.9683, 11.8576, 23.5887)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6784 #84472A
analogous
#2A8474 #2A6784 #2A3A84
triadic
#2A6784 #842A67 #67842A
tetradic
#2A6784 #742A84 #84472A #3A842A
square
#2A6784 #742A84 #84472A #3A842A
split-complementary
#2A6784 #842A3A #84742A
monochromatic
#0C1F27 #1B4356 #2A6784 #398BB2 #5DA8CB

Accessibility & contrast

On white

6.23
#2A6784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2A6784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6784
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6784#FFFFFF#000000##FFFFFF
##2A67841.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6784;
/* rgb */ color: rgb(42, 103, 132);
/* oklch */ color: oklch(48.7% 0.078 232.1);
Tailwind
colors: {
  custom: {
    50: '#6e92a8',
    500: '#2a6784',
    950: '#000000',
  },
}
SCSS
$custom: #2a6784;
$custom-light: #6e92a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6784",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 132
  },
  "hsl": {
    "h": 199.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.48704,
    "c": 0.07761,
    "h": 232.1
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#2A6784
secondary
#B17559
accent
#7B4DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D0F
muted
#7B7D7F

Preview Lab

Preview with #2A6784

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

Preview Lab → · Contrast checker → · Palette generator →

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