#2754A2#2754A2

#2754A2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.136 H 260.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2754A2
RGBrgb(39, 84, 162)
HSLhsl(218, 61%, 39%)
HSVhsv(218, 76%, 64%)
CMYKcmyk(75.9%, 48.1%, 0%, 36.5%)
CIE-LABlab(36.70, 12.94, -46.69)
CIE-LCHlch(36.70, 48.45, 285.49°)
OKLaboklab(45.85% -0.0223 -0.134)
OKLCHoklch(45.85% 0.136 260.6)
XYZxyz(10.5263, 9.3794, 35.4311)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754A2 #A27527
analogous
#2792A2 #2754A2 #3827A2
triadic
#2754A2 #A22754 #54A227
tetradic
#2754A2 #A22792 #A27527 #27A238
square
#2754A2 #A22792 #A27527 #27A238
split-complementary
#2754A2 #A23827 #92A227
monochromatic
#0F213F #1B3A71 #2754A2 #376FCF #6992DB

Accessibility & contrast

On white

7.30
#2754A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2754A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2754A2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754A2#FFFFFF#000000##FFFFFF
##2754A21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#0551A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2754a2;
/* rgb */ color: rgb(39, 84, 162);
/* oklch */ color: oklch(45.9% 0.136 260.6);
Tailwind
colors: {
  custom: {
    50: '#7383be',
    500: '#2754a2',
    950: '#000000',
  },
}
SCSS
$custom: #2754a2;
$custom-light: #7383be;
$custom-dark: #000000;
JSON
{
  "hex": "#2754a2",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 218.049,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.13587,
    "h": 260.6
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#2754A2
secondary
#C19F64
accent
#A943E4
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2754A2

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

Preview Lab → · Contrast checker → · Palette generator →

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