#2A6882#2A6882

#2A6882 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.9% C 0.075 H 228.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2A6882
RGBrgb(42, 104, 130)
HSLhsl(198, 51%, 34%)
HSVhsv(198, 68%, 51%)
CMYKcmyk(67.7%, 20%, 0%, 49%)
CIE-LABlab(41.22, -11.13, -20.29)
CIE-LCHlch(41.22, 23.15, 241.25°)
OKLaboklab(48.86% -0.0495 -0.0568)
OKLCHoklch(48.86% 0.075 228.9)
XYZxyz(9.9328, 12.0035, 22.9082)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6882 #82442A
analogous
#2A8270 #2A6882 #2A3C82
triadic
#2A6882 #822A68 #68822A
tetradic
#2A6882 #702A82 #82442A #3C822A
square
#2A6882 #702A82 #82442A #3C822A
split-complementary
#2A6882 #822A3C #82702A
monochromatic
#0C1E25 #1B4354 #2A6882 #398DB0 #5CAACA

Accessibility & contrast

On white

6.17
#2A6882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2A6882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6882
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6882#FFFFFF#000000##FFFFFF
##2A68821.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6683
Deuteranopia (green-blind)
#4E5D82
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6882;
/* rgb */ color: rgb(42, 104, 130);
/* oklch */ color: oklch(48.9% 0.075 228.9);
Tailwind
colors: {
  custom: {
    50: '#6e93a6',
    500: '#2a6882',
    950: '#000000',
  },
}
SCSS
$custom: #2a6882;
$custom-light: #6e93a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6882",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 130
  },
  "hsl": {
    "h": 197.727,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.07535,
    "h": 228.9
  },
  "luminance": 0.12005
}

Semantic roles & 50–950 ramp

primary
#2A6882
secondary
#B07258
accent
#774DDB
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #2A6882

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

Preview Lab → · Contrast checker → · Palette generator →

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