#2A6782#2A6782

#2A6782 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.6% C 0.076 H 230.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2A6782
RGBrgb(42, 103, 130)
HSLhsl(198, 51%, 34%)
HSVhsv(198, 68%, 51%)
CMYKcmyk(67.7%, 20.8%, 0%, 49%)
CIE-LABlab(40.90, -10.55, -20.79)
CIE-LCHlch(40.90, 23.31, 243.10°)
OKLaboklab(48.61% -0.0484 -0.0582)
OKLCHoklch(48.61% 0.076 230.2)
XYZxyz(9.8328, 11.8034, 22.8748)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6782 #82452A
analogous
#2A8271 #2A6782 #2A3B82
triadic
#2A6782 #822A67 #67822A
tetradic
#2A6782 #712A82 #82452A #3B822A
square
#2A6782 #712A82 #82452A #3B822A
split-complementary
#2A6782 #822A3B #82712A
monochromatic
#0C1E25 #1B4254 #2A6782 #398CB0 #5CA9CA

Accessibility & contrast

On white

6.25
#2A6782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2A6782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6782
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6782#FFFFFF#000000##FFFFFF
##2A67821.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596583
Deuteranopia (green-blind)
#4D5D82
Tritanopia (blue-blind)
#006E70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6782;
/* rgb */ color: rgb(42, 103, 130);
/* oklch */ color: oklch(48.6% 0.076 230.2);
Tailwind
colors: {
  custom: {
    50: '#6e92a6',
    500: '#2a6782',
    950: '#000000',
  },
}
SCSS
$custom: #2a6782;
$custom-light: #6e92a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6782",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 130
  },
  "hsl": {
    "h": 198.409,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48606,
    "c": 0.07569,
    "h": 230.2
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#2A6782
secondary
#B07358
accent
#794DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D0F
muted
#7B7D7F

Preview Lab

Preview with #2A6782

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

Preview Lab → · Contrast checker → · Palette generator →

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