#2D6797#2D6797

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

Color values

HEX#2D6797
RGBrgb(45, 103, 151)
HSLhsl(207, 54%, 38%)
HSVhsv(207, 70%, 59%)
CMYKcmyk(70.2%, 31.8%, 0%, 40.8%)
CIE-LABlab(41.99, -2.53, -31.70)
CIE-LCHlch(41.99, 31.80, 265.44°)
OKLaboklab(49.82% -0.039 -0.0897)
OKLCHoklch(49.82% 0.098 246.5)
XYZxyz(11.5162, 12.4915, 31.0763)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6797 #975D2D
analogous
#2D9792 #2D6797 #2D3297
triadic
#2D6797 #972D67 #67972D
tetradic
#2D6797 #922D97 #975D2D #32972D
square
#2D6797 #922D97 #975D2D #32972D
split-complementary
#2D6797 #972D32 #97922D
monochromatic
#112739 #1F4768 #2D6797 #3C87C5 #6BA4D3

Accessibility & contrast

On white

6.00
#2D6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2D6797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6797
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6797#FFFFFF#000000##FFFFFF
##2D67971.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d6797;
/* rgb */ color: rgb(45, 103, 151);
/* oklch */ color: oklch(49.8% 0.098 246.5);
Tailwind
colors: {
  custom: {
    50: '#7392b6',
    500: '#2d6797',
    950: '#000000',
  },
}
SCSS
$custom: #2d6797;
$custom-light: #7392b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6797",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 207.17,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.09782,
    "h": 246.5
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#2D6797
secondary
#BA8C66
accent
#8D4ADD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2D6797

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

Preview Lab → · Contrast checker → · Palette generator →

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