#2756A7#2756A7

#2756A7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.140 H 260.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2756A7
RGBrgb(39, 86, 167)
HSLhsl(218, 62%, 40%)
HSVhsv(218, 77%, 65%)
CMYKcmyk(76.6%, 48.5%, 0%, 34.5%)
CIE-LABlab(37.62, 13.56, -48.21)
CIE-LCHlch(37.62, 50.08, 285.71°)
OKLaboklab(46.66% -0.0232 -0.1384)
OKLCHoklch(46.66% 0.14 260.5)
XYZxyz(11.1370, 9.8757, 37.8710)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2756A7 #A77827
analogous
#2796A7 #2756A7 #3827A7
triadic
#2756A7 #A72756 #56A727
tetradic
#2756A7 #A72796 #A77827 #27A738
square
#2756A7 #A72796 #A77827 #27A738
split-complementary
#2756A7 #A73827 #96A727
monochromatic
#102344 #1B3C75 #2756A7 #3A72D1 #6C95DD

Accessibility & contrast

On white

7.06
#2756A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2756A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2756A7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2756A7#FFFFFF#000000##FFFFFF
##2756A71.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAA
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2756a7;
/* rgb */ color: rgb(39, 86, 167);
/* oklch */ color: oklch(46.7% 0.140 260.5);
Tailwind
colors: {
  custom: {
    50: '#7485c2',
    500: '#2756a7',
    950: '#000000',
  },
}
SCSS
$custom: #2756a7;
$custom-light: #7485c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2756a7",
  "rgb": {
    "r": 39,
    "g": 86,
    "b": 167
  },
  "hsl": {
    "h": 217.969,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46661,
    "c": 0.14038,
    "h": 260.5
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#2756A7
secondary
#C3A167
accent
#A943E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2756A7

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

Preview Lab → · Contrast checker → · Palette generator →

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