#2754A8#2754A8

#2754A8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.144 H 261.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2754A8
RGBrgb(39, 84, 168)
HSLhsl(219, 62%, 41%)
HSVhsv(219, 77%, 66%)
CMYKcmyk(76.8%, 50%, 0%, 34.1%)
CIE-LABlab(37.11, 15.27, -49.62)
CIE-LCHlch(37.11, 51.92, 287.10°)
OKLaboklab(46.29% -0.0214 -0.1426)
OKLCHoklch(46.29% 0.144 261.5)
XYZxyz(11.0724, 9.5979, 38.3072)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754A8 #A87B27
analogous
#2794A8 #2754A8 #3B27A8
triadic
#2754A8 #A82754 #54A827
tetradic
#2754A8 #A82794 #A87B27 #27A83B
square
#2754A8 #A82794 #A87B27 #27A83B
split-complementary
#2754A8 #A83B27 #94A827
monochromatic
#102245 #1B3B76 #2754A8 #3B6FD1 #6C94DD

Accessibility & contrast

On white

7.19
#2754A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2754A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2754A8
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754A8#FFFFFF#000000##FFFFFF
##2754A81.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225EAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2754a8;
/* rgb */ color: rgb(39, 84, 168);
/* oklch */ color: oklch(46.3% 0.144 261.5);
Tailwind
colors: {
  custom: {
    50: '#7483c2',
    500: '#2754a8',
    950: '#000000',
  },
}
SCSS
$custom: #2754a8;
$custom-light: #7483c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2754a8",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 168
  },
  "hsl": {
    "h": 219.07,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.14423,
    "h": 261.5
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#2754A8
secondary
#C3A367
accent
#AD42E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2754A8

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

Preview Lab → · Contrast checker → · Palette generator →

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