#2754A9#2754A9

#2754A9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.146 H 261.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2754A9
RGBrgb(39, 84, 169)
HSLhsl(219, 63%, 41%)
HSVhsv(219, 77%, 66%)
CMYKcmyk(76.9%, 50.3%, 0%, 33.7%)
CIE-LABlab(37.18, 15.66, -50.10)
CIE-LCHlch(37.18, 52.49, 287.35°)
OKLaboklab(46.37% -0.0212 -0.1441)
OKLCHoklch(46.37% 0.146 261.6)
XYZxyz(11.1659, 9.6353, 38.7997)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754A9 #A97C27
analogous
#2795A9 #2754A9 #3B27A9
triadic
#2754A9 #A92754 #54A927
tetradic
#2754A9 #A92795 #A97C27 #27A93B
square
#2754A9 #A92795 #A97C27 #27A93B
split-complementary
#2754A9 #A93B27 #95A927
monochromatic
#102346 #1C3B77 #2754A9 #3B6FD2 #6D94DD

Accessibility & contrast

On white

7.17
#2754A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2754A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2754A9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754A9#FFFFFF#000000##FFFFFF
##2754A91.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAC
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2754a9;
/* rgb */ color: rgb(39, 84, 169);
/* oklch */ color: oklch(46.4% 0.146 261.6);
Tailwind
colors: {
  custom: {
    50: '#7483c3',
    500: '#2754a9',
    950: '#000000',
  },
}
SCSS
$custom: #2754a9;
$custom-light: #7483c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2754a9",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 169
  },
  "hsl": {
    "h": 219.231,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46369,
    "c": 0.14563,
    "h": 261.6
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#2754A9
secondary
#C4A468
accent
#AD42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2754A9

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

Preview Lab → · Contrast checker → · Palette generator →

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