#2754AC#2754AC

#2754AC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.150 H 262.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2754AC
RGBrgb(39, 84, 172)
HSLhsl(220, 63%, 41%)
HSVhsv(220, 77%, 67%)
CMYKcmyk(77.3%, 51.2%, 0%, 32.5%)
CIE-LABlab(37.39, 16.82, -51.55)
CIE-LCHlch(37.39, 54.22, 288.07°)
OKLaboklab(46.6% -0.0208 -0.1483)
OKLCHoklch(46.6% 0.15 262)
XYZxyz(11.4507, 9.7492, 40.3000)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754AC #AC7F27
analogous
#2797AC #2754AC #3D27AC
triadic
#2754AC #AC2754 #54AC27
tetradic
#2754AC #AC2797 #AC7F27 #27AC3D
square
#2754AC #AC2797 #AC7F27 #27AC3D
split-complementary
#2754AC #AC3D27 #97AC27
monochromatic
#102348 #1C3C7A #2754AC #3D70D3 #6F95DE

Accessibility & contrast

On white

7.12
#2754AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2754AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2754AC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754AC#FFFFFF#000000##FFFFFF
##2754AC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2754ac;
/* rgb */ color: rgb(39, 84, 172);
/* oklch */ color: oklch(46.6% 0.150 262.0);
Tailwind
colors: {
  custom: {
    50: '#7583c5',
    500: '#2754ac',
    950: '#000000',
  },
}
SCSS
$custom: #2754ac;
$custom-light: #7583c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2754ac",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 219.699,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.14978,
    "h": 262
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#2754AC
secondary
#C5A66A
accent
#AE42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2754AC

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

Preview Lab → · Contrast checker → · Palette generator →

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