#2754AA#2754AA

#2754AA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.147 H 261.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2754AA
RGBrgb(39, 84, 170)
HSLhsl(219, 63%, 41%)
HSVhsv(219, 77%, 67%)
CMYKcmyk(77.1%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.25, 16.05, -50.59)
CIE-LCHlch(37.25, 53.07, 287.60°)
OKLaboklab(46.44% -0.0211 -0.1455)
OKLCHoklch(46.44% 0.147 261.8)
XYZxyz(11.2601, 9.6730, 39.2960)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754AA #AA7D27
analogous
#2795AA #2754AA #3B27AA
triadic
#2754AA #AA2754 #54AA27
tetradic
#2754AA #AA2795 #AA7D27 #27AA3B
square
#2754AA #AA2795 #AA7D27 #27AA3B
split-complementary
#2754AA #AA3B27 #95AA27
monochromatic
#102346 #1C3B78 #2754AA #3C70D2 #6E94DE

Accessibility & contrast

On white

7.16
#2754AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2754AA#FFFFFF#000000##FFFFFF
##2754AA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2754aa;
/* rgb */ color: rgb(39, 84, 170);
/* oklch */ color: oklch(46.4% 0.147 261.8);
Tailwind
colors: {
  custom: {
    50: '#7583c4',
    500: '#2754aa',
    950: '#000000',
  },
}
SCSS
$custom: #2754aa;
$custom-light: #7583c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2754aa",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 219.389,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.14701,
    "h": 261.8
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#2754AA
secondary
#C4A569
accent
#AE42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2754AA

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

Preview Lab → · Contrast checker → · Palette generator →

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