#2A6796#2A6796

#2A6796 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.7% C 0.098 H 245.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2A6796
RGBrgb(42, 103, 150)
HSLhsl(206, 56%, 38%)
HSVhsv(206, 72%, 59%)
CMYKcmyk(72%, 31.3%, 0%, 41.2%)
CIE-LABlab(41.83, -3.37, -31.35)
CIE-LCHlch(41.83, 31.53, 263.86°)
OKLaboklab(49.65% -0.0413 -0.0887)
OKLCHoklch(49.65% 0.098 245)
XYZxyz(11.3080, 12.3935, 30.6445)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6796 #96592A
analogous
#2A968F #2A6796 #2A3196
triadic
#2A6796 #962A67 #67962A
tetradic
#2A6796 #8F2A96 #96592A #31962A
square
#2A6796 #8F2A96 #96592A #31962A
split-complementary
#2A6796 #962A31 #968F2A
monochromatic
#0F2536 #1D4666 #2A6796 #3788C6 #66A4D4

Accessibility & contrast

On white

6.04
#2A6796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A6796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6796
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6796#FFFFFF#000000##FFFFFF
##2A67961.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526898
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a6796;
/* rgb */ color: rgb(42, 103, 150);
/* oklch */ color: oklch(49.7% 0.098 245.0);
Tailwind
colors: {
  custom: {
    50: '#7192b5',
    500: '#2a6796',
    950: '#000000',
  },
}
SCSS
$custom: #2a6796;
$custom-light: #7192b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6796",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 206.111,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49654,
    "c": 0.09787,
    "h": 245
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#2A6796
secondary
#BA8861
accent
#8A48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2A6796

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

Preview Lab → · Contrast checker → · Palette generator →

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