#2754BC#2754BC

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

Color values

HEX#2754BC
RGBrgb(39, 84, 188)
HSLhsl(222, 66%, 45%)
HSVhsv(222, 79%, 74%)
CMYKcmyk(79.3%, 55.3%, 0%, 26.3%)
CIE-LABlab(38.55, 23.01, -59.09)
CIE-LCHlch(38.55, 63.41, 291.27°)
OKLaboklab(47.85% -0.0192 -0.1705)
OKLCHoklch(47.85% 0.172 263.6)
XYZxyz(13.0809, 10.4013, 48.8854)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754BC #BC8F27
analogous
#279FBC #2754BC #4427BC
triadic
#2754BC #BC2754 #54BC27
tetradic
#2754BC #BC279F #BC8F27 #27BC44
square
#2754BC #BC279F #BC8F27 #27BC44
split-complementary
#2754BC #BC4427 #9FBC27
monochromatic
#122757 #1C3D89 #2754BC #4773D9 #7A9AE3

Accessibility & contrast

On white

6.82
#2754BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2754BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2754BC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754BC#FFFFFF#000000##FFFFFF
##2754BC1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2754bc;
/* rgb */ color: rgb(39, 84, 188);
/* oklch */ color: oklch(47.8% 0.172 263.6);
Tailwind
colors: {
  custom: {
    50: '#7983d1',
    500: '#2754bc',
    950: '#000000',
  },
}
SCSS
$custom: #2754bc;
$custom-light: #7983d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2754bc",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 221.879,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47848,
    "c": 0.17158,
    "h": 263.6
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

primary
#2754BC
secondary
#CBB173
accent
#B53FE9
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2754BC

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

Preview Lab → · Contrast checker → · Palette generator →

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