#2754A5#2754A5

#2754A5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.140 H 261.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2754A5
RGBrgb(39, 84, 165)
HSLhsl(219, 62%, 40%)
HSVhsv(219, 76%, 65%)
CMYKcmyk(76.4%, 49.1%, 0%, 35.3%)
CIE-LABlab(36.91, 14.10, -48.16)
CIE-LCHlch(36.91, 50.18, 286.32°)
OKLaboklab(46.07% -0.0218 -0.1383)
OKLCHoklch(46.07% 0.14 261)
XYZxyz(10.7961, 9.4874, 36.8523)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754A5 #A57827
analogous
#2793A5 #2754A5 #3927A5
triadic
#2754A5 #A52754 #54A527
tetradic
#2754A5 #A52793 #A57827 #27A539
square
#2754A5 #A52793 #A57827 #27A539
split-complementary
#2754A5 #A53927 #93A527
monochromatic
#102242 #1B3B74 #2754A5 #396FD0 #6A93DC

Accessibility & contrast

On white

7.25
#2754A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2754A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2754A5
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2754A5#FFFFFF#000000##FFFFFF
##2754A51.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2754a5;
/* rgb */ color: rgb(39, 84, 165);
/* oklch */ color: oklch(46.1% 0.140 261.0);
Tailwind
colors: {
  custom: {
    50: '#7483c0',
    500: '#2754a5',
    950: '#000000',
  },
}
SCSS
$custom: #2754a5;
$custom-light: #7483c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2754a5",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 218.571,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.46072,
    "c": 0.14006,
    "h": 261
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#2754A5
secondary
#C2A166
accent
#AB43E5
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2754A5

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

Preview Lab → · Contrast checker → · Palette generator →

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