#2754B5#2754B5

#2754B5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.162 H 263.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2754B5
RGBrgb(39, 84, 181)
HSLhsl(221, 65%, 43%)
HSVhsv(221, 78%, 71%)
CMYKcmyk(78.5%, 53.6%, 0%, 29%)
CIE-LABlab(38.03, 20.31, -55.82)
CIE-LCHlch(38.03, 59.40, 289.99°)
OKLaboklab(47.29% -0.0198 -0.1609)
OKLCHoklch(47.29% 0.162 263)
XYZxyz(12.3445, 10.1067, 45.0073)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754B5 #B58827
analogous
#279BB5 #2754B5 #4127B5
triadic
#2754B5 #B52754 #54B527
tetradic
#2754B5 #B5279B #B58827 #27B541
square
#2754B5 #B5279B #B58827 #27B541
split-complementary
#2754B5 #B54127 #9BB527
monochromatic
#112550 #1C3D83 #2754B5 #4372D6 #7597E1

Accessibility & contrast

On white

6.95
#2754B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2754B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2754B5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754B5#FFFFFF#000000##FFFFFF
##2754B51.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0660B8
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2754b5;
/* rgb */ color: rgb(39, 84, 181);
/* oklch */ color: oklch(47.3% 0.162 263.0);
Tailwind
colors: {
  custom: {
    50: '#7783cc',
    500: '#2754b5',
    950: '#000000',
  },
}
SCSS
$custom: #2754b5;
$custom-light: #7783cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2754b5",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 181
  },
  "hsl": {
    "h": 220.986,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4729,
    "c": 0.16211,
    "h": 263
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#2754B5
secondary
#C9AC6F
accent
#B340E8
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2754B5

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

Preview Lab → · Contrast checker → · Palette generator →

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