#2756A6#2756A6

#2756A6 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.139 H 260.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2756A6
RGBrgb(39, 86, 166)
HSLhsl(218, 62%, 40%)
HSVhsv(218, 77%, 65%)
CMYKcmyk(76.5%, 48.2%, 0%, 34.9%)
CIE-LABlab(37.55, 13.17, -47.72)
CIE-LCHlch(37.55, 49.50, 285.43°)
OKLaboklab(46.59% -0.0233 -0.137)
OKLCHoklch(46.59% 0.139 260.3)
XYZxyz(11.0449, 9.8388, 37.3860)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2756A6 #A67727
analogous
#2796A6 #2756A6 #3727A6
triadic
#2756A6 #A62756 #56A627
tetradic
#2756A6 #A62796 #A67727 #27A637
square
#2756A6 #A62796 #A67727 #27A637
split-complementary
#2756A6 #A63727 #96A627
monochromatic
#102343 #1B3C74 #2756A6 #3A71D1 #6B95DC

Accessibility & contrast

On white

7.08
#2756A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2756A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2756A6
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2756A6#FFFFFF#000000##FFFFFF
##2756A61.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FA9
Deuteranopia (green-blind)
#0253A4
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2756a6;
/* rgb */ color: rgb(39, 86, 166);
/* oklch */ color: oklch(46.6% 0.139 260.3);
Tailwind
colors: {
  custom: {
    50: '#7485c1',
    500: '#2756a6',
    950: '#000000',
  },
}
SCSS
$custom: #2756a6;
$custom-light: #7485c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2756a6",
  "rgb": {
    "r": 39,
    "g": 86,
    "b": 166
  },
  "hsl": {
    "h": 217.795,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46588,
    "c": 0.13898,
    "h": 260.3
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#2756A6
secondary
#C3A066
accent
#A943E5
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2756A6

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

Preview Lab → · Contrast checker → · Palette generator →

#2756A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva