#2D6796#2D6796

#2D6796 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.8% C 0.097 H 246.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2D6796
RGBrgb(45, 103, 150)
HSLhsl(207, 54%, 38%)
HSVhsv(207, 70%, 59%)
CMYKcmyk(70%, 31.3%, 0%, 41.2%)
CIE-LABlab(41.94, -2.89, -31.18)
CIE-LCHlch(41.94, 31.32, 264.70°)
OKLaboklab(49.76% -0.0394 -0.0882)
OKLCHoklch(49.76% 0.097 246)
XYZxyz(11.4354, 12.4592, 30.6504)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6796 #965C2D
analogous
#2D9690 #2D6796 #2D3296
triadic
#2D6796 #962D67 #67962D
tetradic
#2D6796 #902D96 #965C2D #32962D
square
#2D6796 #902D96 #965C2D #32962D
split-complementary
#2D6796 #962D32 #96902D
monochromatic
#112638 #1F4767 #2D6796 #3C87C4 #6BA4D3

Accessibility & contrast

On white

6.01
#2D6796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2D6796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6796
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6796#FFFFFF#000000##FFFFFF
##2D67961.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d6796;
/* rgb */ color: rgb(45, 103, 150);
/* oklch */ color: oklch(49.8% 0.097 246.0);
Tailwind
colors: {
  custom: {
    50: '#7392b5',
    500: '#2d6796',
    950: '#000000',
  },
}
SCSS
$custom: #2d6796;
$custom-light: #7392b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6796",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 206.857,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49763,
    "c": 0.09657,
    "h": 246
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#2D6796
secondary
#B98B65
accent
#8C4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2D6796

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

Preview Lab → · Contrast checker → · Palette generator →

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