#2756B2#2756B2

#2756B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.156 H 262.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2756B2
RGBrgb(39, 86, 178)
HSLhsl(220, 64%, 43%)
HSVhsv(220, 78%, 70%)
CMYKcmyk(78.1%, 51.7%, 0%, 30.2%)
CIE-LABlab(38.38, 17.82, -53.50)
CIE-LCHlch(38.38, 56.39, 288.43°)
OKLaboklab(47.48% -0.0217 -0.154)
OKLCHoklch(47.48% 0.156 262)
XYZxyz(12.1975, 10.2999, 43.4561)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2756B2 #B28327
analogous
#279CB2 #2756B2 #3D27B2
triadic
#2756B2 #B22756 #56B227
tetradic
#2756B2 #B2279C #B28327 #27B23D
square
#2756B2 #B2279C #B28327 #27B23D
split-complementary
#2756B2 #B23D27 #9CB227
monochromatic
#11254E #1C3E80 #2756B2 #4173D5 #7398E0

Accessibility & contrast

On white

6.86
#2756B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2756B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2756B2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2756B2#FFFFFF#000000##FFFFFF
##2756B21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2756b2;
/* rgb */ color: rgb(39, 86, 178);
/* oklch */ color: oklch(47.5% 0.156 262.0);
Tailwind
colors: {
  custom: {
    50: '#7685ca',
    500: '#2756b2',
    950: '#000000',
  },
}
SCSS
$custom: #2756b2;
$custom-light: #7685ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2756b2",
  "rgb": {
    "r": 39,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 219.712,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47482,
    "c": 0.15555,
    "h": 262
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#2756B2
secondary
#C8A96D
accent
#AF41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2756B2

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

Preview Lab → · Contrast checker → · Palette generator →

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