#2754BB#2754BB

#2754BB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.170 H 263.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2754BB
RGBrgb(39, 84, 187)
HSLhsl(222, 65%, 44%)
HSVhsv(222, 79%, 73%)
CMYKcmyk(79.1%, 55.1%, 0%, 26.7%)
CIE-LABlab(38.48, 22.62, -58.62)
CIE-LCHlch(38.48, 62.84, 291.10°)
OKLaboklab(47.77% -0.0193 -0.1691)
OKLCHoklch(47.77% 0.17 263.5)
XYZxyz(12.9735, 10.3583, 48.3197)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754BB #BB8E27
analogous
#279EBB #2754BB #4427BB
triadic
#2754BB #BB2754 #54BB27
tetradic
#2754BB #BB279E #BB8E27 #27BB44
square
#2754BB #BB279E #BB8E27 #27BB44
split-complementary
#2754BB #BB4427 #9EBB27
monochromatic
#122756 #1C3D88 #2754BB #4773D9 #7999E3

Accessibility & contrast

On white

6.84
#2754BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2754BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2754BB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754BB#FFFFFF#000000##FFFFFF
##2754BB1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2754bb;
/* rgb */ color: rgb(39, 84, 187);
/* oklch */ color: oklch(47.8% 0.170 263.5);
Tailwind
colors: {
  custom: {
    50: '#7983d0',
    500: '#2754bb',
    950: '#000000',
  },
}
SCSS
$custom: #2754bb;
$custom-light: #7983d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2754bb",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 221.757,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.17023,
    "h": 263.5
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#2754BB
secondary
#CBB073
accent
#B53FE8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2754BB

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

Preview Lab → · Contrast checker → · Palette generator →

#2754BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva