#2754B9#2754B9

#2754B9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.168 H 263.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2754B9
RGBrgb(39, 84, 185)
HSLhsl(222, 65%, 44%)
HSVhsv(222, 79%, 73%)
CMYKcmyk(78.9%, 54.6%, 0%, 27.5%)
CIE-LABlab(38.33, 21.85, -57.69)
CIE-LCHlch(38.33, 61.69, 290.74°)
OKLaboklab(47.61% -0.0195 -0.1664)
OKLCHoklch(47.61% 0.168 263.3)
XYZxyz(12.7609, 10.2733, 47.1999)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754B9 #B98C27
analogous
#279DB9 #2754B9 #4327B9
triadic
#2754B9 #B92754 #54B927
tetradic
#2754B9 #B9279D #B98C27 #27B943
square
#2754B9 #B9279D #B98C27 #27B943
split-complementary
#2754B9 #B94327 #9DB927
monochromatic
#122654 #1C3D86 #2754B9 #4573D8 #7899E3

Accessibility & contrast

On white

6.87
#2754B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2754B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2754B9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754B9#FFFFFF#000000##FFFFFF
##2754B91.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2754b9;
/* rgb */ color: rgb(39, 84, 185);
/* oklch */ color: oklch(47.6% 0.168 263.3);
Tailwind
colors: {
  custom: {
    50: '#7883cf',
    500: '#2754b9',
    950: '#000000',
  },
}
SCSS
$custom: #2754b9;
$custom-light: #7883cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2754b9",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 185
  },
  "hsl": {
    "h": 221.507,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47607,
    "c": 0.16753,
    "h": 263.3
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#2754B9
secondary
#CAAF72
accent
#B440E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2754B9

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

Preview Lab → · Contrast checker → · Palette generator →

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