#2754BA#2754BA

#2754BA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.169 H 263.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2754BA
RGBrgb(39, 84, 186)
HSLhsl(222, 65%, 44%)
HSVhsv(222, 79%, 73%)
CMYKcmyk(79%, 54.8%, 0%, 27.1%)
CIE-LABlab(38.40, 22.24, -58.16)
CIE-LCHlch(38.40, 62.27, 290.92°)
OKLaboklab(47.69% -0.0194 -0.1678)
OKLCHoklch(47.69% 0.169 263.4)
XYZxyz(12.8668, 10.3156, 47.7578)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754BA #BA8D27
analogous
#279EBA #2754BA #4427BA
triadic
#2754BA #BA2754 #54BA27
tetradic
#2754BA #BA279E #BA8D27 #27BA44
square
#2754BA #BA279E #BA8D27 #27BA44
split-complementary
#2754BA #BA4427 #9EBA27
monochromatic
#122655 #1C3D87 #2754BA #4673D8 #7999E3

Accessibility & contrast

On white

6.86
#2754BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2754BA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754BA#FFFFFF#000000##FFFFFF
##2754BA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2754ba;
/* rgb */ color: rgb(39, 84, 186);
/* oklch */ color: oklch(47.7% 0.169 263.4);
Tailwind
colors: {
  custom: {
    50: '#7883cf',
    500: '#2754ba',
    950: '#000000',
  },
}
SCSS
$custom: #2754ba;
$custom-light: #7883cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2754ba",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 221.633,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47687,
    "c": 0.16889,
    "h": 263.4
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#2754BA
secondary
#CBB072
accent
#B540E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2754BA

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

Preview Lab → · Contrast checker → · Palette generator →

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