#2754AD#2754AD

#2754AD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.151 H 262.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2754AD
RGBrgb(39, 84, 173)
HSLhsl(220, 63%, 42%)
HSVhsv(220, 77%, 68%)
CMYKcmyk(77.5%, 51.4%, 0%, 32.2%)
CIE-LABlab(37.46, 17.21, -52.03)
CIE-LCHlch(37.46, 54.80, 288.30°)
OKLaboklab(46.67% -0.0207 -0.1497)
OKLCHoklch(46.67% 0.151 262.1)
XYZxyz(11.5471, 9.7878, 40.8077)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2754AD #AD8027
analogous
#2797AD #2754AD #3D27AD
triadic
#2754AD #AD2754 #54AD27
tetradic
#2754AD #AD2797 #AD8027 #27AD3D
square
#2754AD #AD2797 #AD8027 #27AD3D
split-complementary
#2754AD #AD3D27 #97AD27
monochromatic
#102449 #1C3C7B #2754AD #3E70D3 #7095DF

Accessibility & contrast

On white

7.10
#2754AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2754AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2754AD#FFFFFF#000000##FFFFFF
##2754AD1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2754ad;
/* rgb */ color: rgb(39, 84, 173);
/* oklch */ color: oklch(46.7% 0.151 262.1);
Tailwind
colors: {
  custom: {
    50: '#7583c6',
    500: '#2754ad',
    950: '#000000',
  },
}
SCSS
$custom: #2754ad;
$custom-light: #7583c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2754ad",
  "rgb": {
    "r": 39,
    "g": 84,
    "b": 173
  },
  "hsl": {
    "h": 219.851,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46671,
    "c": 0.15116,
    "h": 262.1
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#2754AD
secondary
#C6A76A
accent
#AF42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2754AD

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

Preview Lab → · Contrast checker → · Palette generator →

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