#2754B0#2754B0

#2754B0 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.155 H 262.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2754B0
RGBrgb(39, 84, 176)
HSLhsl(220, 64%, 42%)
HSVhsv(220, 78%, 69%)
CMYKcmyk(77.8%, 52.3%, 0%, 31%)
CIE-LABlab(37.67, 18.37, -53.46)
CIE-LCHlch(37.67, 56.53, 288.97°)
OKLaboklab(46.9% -0.0204 -0.1539)
OKLCHoklch(46.9% 0.155 262.5)
XYZxyz(11.8407, 9.9052, 42.3537)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754B0 #B08327
analogous
#2799B0 #2754B0 #3F27B0
triadic
#2754B0 #B02754 #54B027
tetradic
#2754B0 #B02799 #B08327 #27B03F
square
#2754B0 #B02799 #B08327 #27B03F
split-complementary
#2754B0 #B03F27 #99B027
monochromatic
#11244C #1C3C7E #2754B0 #4071D5 #7296E0

Accessibility & contrast

On white

7.04
#2754B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2754B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2754B0
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754B0#FFFFFF#000000##FFFFFF
##2754B01.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB3
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2754b0;
/* rgb */ color: rgb(39, 84, 176);
/* oklch */ color: oklch(46.9% 0.155 262.5);
Tailwind
colors: {
  custom: {
    50: '#7683c8',
    500: '#2754b0',
    950: '#000000',
  },
}
SCSS
$custom: #2754b0;
$custom-light: #7683c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2754b0",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 176
  },
  "hsl": {
    "h": 220.292,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46901,
    "c": 0.15528,
    "h": 262.5
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#2754B0
secondary
#C7A96C
accent
#B041E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2754B0

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

Preview Lab → · Contrast checker → · Palette generator →

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