#2754BD#2754BD

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

Color values

HEX#2754BD
RGBrgb(39, 84, 189)
HSLhsl(222, 66%, 45%)
HSVhsv(222, 79%, 74%)
CMYKcmyk(79.4%, 55.6%, 0%, 25.9%)
CIE-LABlab(38.63, 23.39, -59.55)
CIE-LCHlch(38.63, 63.98, 291.44°)
OKLaboklab(47.93% -0.0191 -0.1719)
OKLCHoklch(47.93% 0.173 263.6)
XYZxyz(13.1891, 10.4446, 49.4551)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754BD #BD9027
analogous
#279FBD #2754BD #4527BD
triadic
#2754BD #BD2754 #54BD27
tetradic
#2754BD #BD279F #BD9027 #27BD45
square
#2754BD #BD279F #BD9027 #27BD45
split-complementary
#2754BD #BD4527 #9FBD27
monochromatic
#122758 #1D3D8A #2754BD #4874D9 #7B9AE4

Accessibility & contrast

On white

6.80
#2754BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2754BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2754BD
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754BD#FFFFFF#000000##FFFFFF
##2754BD1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2754bd;
/* rgb */ color: rgb(39, 84, 189);
/* oklch */ color: oklch(47.9% 0.173 263.6);
Tailwind
colors: {
  custom: {
    50: '#7983d2',
    500: '#2754bd',
    950: '#000000',
  },
}
SCSS
$custom: #2754bd;
$custom-light: #7983d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2754bd",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 222,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.17292,
    "h": 263.6
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#2754BD
secondary
#CCB174
accent
#B63FE9
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2754BD

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

Preview Lab → · Contrast checker → · Palette generator →

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