#2754AE#2754AE

#2754AE is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.153 H 262.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2754AE
RGBrgb(39, 84, 174)
HSLhsl(220, 63%, 42%)
HSVhsv(220, 78%, 68%)
CMYKcmyk(77.6%, 51.7%, 0%, 31.8%)
CIE-LABlab(37.53, 17.60, -52.51)
CIE-LCHlch(37.53, 55.38, 288.53°)
OKLaboklab(46.75% -0.0206 -0.1511)
OKLCHoklch(46.75% 0.153 262.2)
XYZxyz(11.6443, 9.8266, 41.3192)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754AE #AE8127
analogous
#2798AE #2754AE #3E27AE
triadic
#2754AE #AE2754 #54AE27
tetradic
#2754AE #AE2798 #AE8127 #27AE3E
square
#2754AE #AE2798 #AE8127 #27AE3E
split-complementary
#2754AE #AE3E27 #98AE27
monochromatic
#11244A #1C3C7C #2754AE #3E70D4 #7095DF

Accessibility & contrast

On white

7.08
#2754AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2754AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2754AE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754AE#FFFFFF#000000##FFFFFF
##2754AE1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2754ae;
/* rgb */ color: rgb(39, 84, 174);
/* oklch */ color: oklch(46.7% 0.153 262.2);
Tailwind
colors: {
  custom: {
    50: '#7683c7',
    500: '#2754ae',
    950: '#000000',
  },
}
SCSS
$custom: #2754ae;
$custom-light: #7683c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2754ae",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 220,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46747,
    "c": 0.15253,
    "h": 262.2
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#2754AE
secondary
#C6A86B
accent
#AF41E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2754AE

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

Preview Lab → · Contrast checker → · Palette generator →

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