#2754B2#2754B2

#2754B2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.158 H 262.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2754B2
RGBrgb(39, 84, 178)
HSLhsl(221, 64%, 43%)
HSVhsv(221, 78%, 70%)
CMYKcmyk(78.1%, 52.8%, 0%, 30.2%)
CIE-LABlab(37.82, 19.15, -54.41)
CIE-LCHlch(37.82, 57.68, 289.39°)
OKLaboklab(47.06% -0.0201 -0.1567)
OKLCHoklch(47.06% 0.158 262.7)
XYZxyz(12.0400, 9.9849, 43.4036)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754B2 #B28527
analogous
#2799B2 #2754B2 #4027B2
triadic
#2754B2 #B22754 #54B227
tetradic
#2754B2 #B22799 #B28527 #27B240
square
#2754B2 #B22799 #B28527 #27B240
split-complementary
#2754B2 #B24027 #99B227
monochromatic
#11254E #1C3C80 #2754B2 #4171D5 #7396E0

Accessibility & contrast

On white

7.01
#2754B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2754B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2754B2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754B2#FFFFFF#000000##FFFFFF
##2754B21.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2754b2;
/* rgb */ color: rgb(39, 84, 178);
/* oklch */ color: oklch(47.1% 0.158 262.7);
Tailwind
colors: {
  custom: {
    50: '#7783ca',
    500: '#2754b2',
    950: '#000000',
  },
}
SCSS
$custom: #2754b2;
$custom-light: #7783ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2754b2",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 220.576,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47055,
    "c": 0.15802,
    "h": 262.7
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#2754B2
secondary
#C8AA6D
accent
#B141E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2754B2

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

Preview Lab → · Contrast checker → · Palette generator →

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