#2756B1#2756B1

#2756B1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.154 H 261.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2756B1
RGBrgb(39, 86, 177)
HSLhsl(220, 64%, 42%)
HSVhsv(220, 78%, 69%)
CMYKcmyk(78%, 51.4%, 0%, 30.6%)
CIE-LABlab(38.30, 17.44, -53.03)
CIE-LCHlch(38.30, 55.82, 288.20°)
OKLaboklab(47.41% -0.0218 -0.1526)
OKLCHoklch(47.41% 0.154 261.9)
XYZxyz(12.0974, 10.2598, 42.9292)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2756B1 #B18227
analogous
#279BB1 #2756B1 #3D27B1
triadic
#2756B1 #B12756 #56B127
tetradic
#2756B1 #B1279B #B18227 #27B13D
square
#2756B1 #B1279B #B18227 #27B13D
split-complementary
#2756B1 #B13D27 #9BB127
monochromatic
#11254D #1C3E7F #2756B1 #4073D5 #7298E0

Accessibility & contrast

On white

6.88
#2756B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2756B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2756B1
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2756B1#FFFFFF#000000##FFFFFF
##2756B11.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2756b1;
/* rgb */ color: rgb(39, 86, 177);
/* oklch */ color: oklch(47.4% 0.154 261.9);
Tailwind
colors: {
  custom: {
    50: '#7685c9',
    500: '#2756b1',
    950: '#000000',
  },
}
SCSS
$custom: #2756b1;
$custom-light: #7685c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2756b1",
  "rgb": {
    "r": 39,
    "g": 86,
    "b": 177
  },
  "hsl": {
    "h": 219.565,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.15418,
    "h": 261.9
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#2756B1
secondary
#C7A86D
accent
#AE41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2756B1

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

Preview Lab → · Contrast checker → · Palette generator →

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