#2747BA#2747BA

#2747BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.185 H 266.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2747BA
RGBrgb(39, 71, 186)
HSLhsl(227, 65%, 44%)
HSVhsv(227, 79%, 73%)
CMYKcmyk(79%, 61.8%, 0%, 27.1%)
CIE-LABlab(34.97, 30.80, -63.76)
CIE-LCHlch(34.97, 70.81, 295.78°)
OKLaboklab(45.11% -0.0109 -0.1844)
OKLCHoklch(45.11% 0.185 266.6)
XYZxyz(11.9498, 8.4816, 47.4522)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2747BA #BA9A27
analogous
#2791BA #2747BA #5127BA
triadic
#2747BA #BA2747 #47BA27
tetradic
#2747BA #BA2791 #BA9A27 #27BA51
square
#2747BA #BA2791 #BA9A27 #27BA51
split-complementary
#2747BA #BA5127 #91BA27
monochromatic
#122055 #1C3487 #2747BA #4666D8 #7990E3

Accessibility & contrast

On white

7.79
#2747BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2747BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2747BA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2747BA#FFFFFF#000000##FFFFFF
##2747BA1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2747ba;
/* rgb */ color: rgb(39, 71, 186);
/* oklch */ color: oklch(45.1% 0.185 266.6);
Tailwind
colors: {
  custom: {
    50: '#7979d0',
    500: '#2747ba',
    950: '#000000',
  },
}
SCSS
$custom: #2747ba;
$custom-light: #7979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2747ba",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 226.939,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.18473,
    "h": 266.6
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#2747BA
secondary
#CBB772
accent
#C440E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2747BA

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

Preview Lab → · Contrast checker → · Palette generator →

#2747BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva