#2754B4#2754B4

#2754B4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.161 H 262.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2754B4
RGBrgb(39, 84, 180)
HSLhsl(221, 64%, 43%)
HSVhsv(221, 78%, 71%)
CMYKcmyk(78.3%, 53.3%, 0%, 29.4%)
CIE-LABlab(37.96, 19.92, -55.35)
CIE-LCHlch(37.96, 58.83, 289.79°)
OKLaboklab(47.21% -0.0199 -0.1595)
OKLCHoklch(47.21% 0.161 262.9)
XYZxyz(12.2423, 10.0659, 44.4689)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754B4 #B48727
analogous
#279AB4 #2754B4 #4027B4
triadic
#2754B4 #B42754 #54B427
tetradic
#2754B4 #B4279A #B48727 #27B440
square
#2754B4 #B4279A #B48727 #27B440
split-complementary
#2754B4 #B44027 #9AB427
monochromatic
#11254F #1C3D82 #2754B4 #4271D6 #7497E1

Accessibility & contrast

On white

6.97
#2754B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2754B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2754B4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754B4#FFFFFF#000000##FFFFFF
##2754B41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A60B7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2754b4;
/* rgb */ color: rgb(39, 84, 180);
/* oklch */ color: oklch(47.2% 0.161 262.9);
Tailwind
colors: {
  custom: {
    50: '#7783cb',
    500: '#2754b4',
    950: '#000000',
  },
}
SCSS
$custom: #2754b4;
$custom-light: #7783cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2754b4",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 220.851,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.16075,
    "h": 262.9
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#2754B4
secondary
#C8AC6F
accent
#B240E7
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2754B4

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

Preview Lab → · Contrast checker → · Palette generator →

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