#2756A4#2756A4

#2756A4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.136 H 260.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2756A4
RGBrgb(39, 86, 164)
HSLhsl(217, 62%, 40%)
HSVhsv(217, 76%, 64%)
CMYKcmyk(76.2%, 47.6%, 0%, 35.7%)
CIE-LABlab(37.42, 12.39, -46.74)
CIE-LCHlch(37.42, 48.35, 284.85°)
OKLaboklab(46.44% -0.0237 -0.1341)
OKLCHoklch(46.44% 0.136 260)
XYZxyz(10.8629, 9.7660, 36.4273)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2756A4 #A47527
analogous
#2795A4 #2756A4 #3727A4
triadic
#2756A4 #A42756 #56A427
tetradic
#2756A4 #A42795 #A47527 #27A437
square
#2756A4 #A42795 #A47527 #27A437
split-complementary
#2756A4 #A43727 #95A427
monochromatic
#0F2241 #1B3C73 #2756A4 #3871D0 #6A95DC

Accessibility & contrast

On white

7.11
#2756A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2756A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2756A4
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2756A4#FFFFFF#000000##FFFFFF
##2756A41.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#0A53A2
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2756a4;
/* rgb */ color: rgb(39, 86, 164);
/* oklch */ color: oklch(46.4% 0.136 260.0);
Tailwind
colors: {
  custom: {
    50: '#7385bf',
    500: '#2756a4',
    950: '#000000',
  },
}
SCSS
$custom: #2756a4;
$custom-light: #7385bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2756a4",
  "rgb": {
    "r": 39,
    "g": 86,
    "b": 164
  },
  "hsl": {
    "h": 217.44,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.1362,
    "h": 260
  },
  "luminance": 0.09767
}

Semantic roles & 50–950 ramp

primary
#2756A4
secondary
#C29F65
accent
#A843E5
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2756A4

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

Preview Lab → · Contrast checker → · Palette generator →

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