#2751A3#2751A3

#2751A3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.141 H 262.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2751A3
RGBrgb(39, 81, 163)
HSLhsl(220, 61%, 40%)
HSVhsv(220, 76%, 64%)
CMYKcmyk(76.1%, 50.3%, 0%, 36.1%)
CIE-LABlab(35.91, 15.32, -48.58)
CIE-LCHlch(35.91, 50.94, 287.50°)
OKLaboklab(45.26% -0.0196 -0.1396)
OKLCHoklch(45.26% 0.141 262)
XYZxyz(10.3876, 8.9594, 35.8251)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2751A3 #A37927
analogous
#278FA3 #2751A3 #3B27A3
triadic
#2751A3 #A32751 #51A327
tetradic
#2751A3 #A3278F #A37927 #27A33B
square
#2751A3 #A3278F #A37927 #27A33B
split-complementary
#2751A3 #A33B27 #8FA327
monochromatic
#0F2040 #1B3872 #2751A3 #386BCF #6990DB

Accessibility & contrast

On white

7.52
#2751A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2751A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2751A3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2751A3#FFFFFF#000000##FFFFFF
##2751A31.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2751a3;
/* rgb */ color: rgb(39, 81, 163);
/* oklch */ color: oklch(45.3% 0.141 262.0);
Tailwind
colors: {
  custom: {
    50: '#7381bf',
    500: '#2751a3',
    950: '#000000',
  },
}
SCSS
$custom: #2751a3;
$custom-light: #7381bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2751a3",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 219.677,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45262,
    "c": 0.141,
    "h": 262
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#2751A3
secondary
#C1A264
accent
#AE43E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2751A3

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

Preview Lab → · Contrast checker → · Palette generator →

#2751A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva