#2754A3#2754A3

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

Color values

HEX#2754A3
RGBrgb(39, 84, 163)
HSLhsl(218, 61%, 40%)
HSVhsv(218, 76%, 64%)
CMYKcmyk(76.1%, 48.5%, 0%, 36.1%)
CIE-LABlab(36.77, 13.33, -47.18)
CIE-LCHlch(36.77, 49.03, 285.77°)
OKLaboklab(45.93% -0.0221 -0.1355)
OKLCHoklch(45.93% 0.137 260.7)
XYZxyz(10.6155, 9.4151, 35.9011)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754A3 #A37627
analogous
#2792A3 #2754A3 #3827A3
triadic
#2754A3 #A32754 #54A327
tetradic
#2754A3 #A32792 #A37627 #27A338
square
#2754A3 #A32792 #A37627 #27A338
split-complementary
#2754A3 #A33827 #92A327
monochromatic
#0F2140 #1B3B72 #2754A3 #386FCF #6993DB

Accessibility & contrast

On white

7.28
#2754A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2754A3
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754A3#FFFFFF#000000##FFFFFF
##2754A31.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#0151A1
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2754a3;
/* rgb */ color: rgb(39, 84, 163);
/* oklch */ color: oklch(45.9% 0.137 260.7);
Tailwind
colors: {
  custom: {
    50: '#7383bf',
    500: '#2754a3',
    950: '#000000',
  },
}
SCSS
$custom: #2754a3;
$custom-light: #7383bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2754a3",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 163
  },
  "hsl": {
    "h": 218.226,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45925,
    "c": 0.13727,
    "h": 260.7
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#2754A3
secondary
#C1A064
accent
#AA43E4
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2754A3

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

Preview Lab → · Contrast checker → · Palette generator →

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