#2751B3#2751B3

#2751B3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.163 H 263.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2751B3
RGBrgb(39, 81, 179)
HSLhsl(222, 64%, 43%)
HSVhsv(222, 78%, 70%)
CMYKcmyk(78.2%, 54.7%, 0%, 29.8%)
CIE-LABlab(37.06, 21.52, -56.22)
CIE-LCHlch(37.06, 60.20, 290.95°)
OKLaboklab(46.51% -0.0178 -0.1621)
OKLCHoklch(46.51% 0.163 263.7)
XYZxyz(11.9129, 9.5695, 43.8583)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2751B3 #B38927
analogous
#2797B3 #2751B3 #4327B3
triadic
#2751B3 #B32751 #51B327
tetradic
#2751B3 #B32797 #B38927 #27B343
square
#2751B3 #B32797 #B38927 #27B343
split-complementary
#2751B3 #B34327 #97B327
monochromatic
#11244E #1C3A81 #2751B3 #416ED6 #7494E1

Accessibility & contrast

On white

7.21
#2751B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2751B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2751B3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2751B3#FFFFFF#000000##FFFFFF
##2751B31.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2751b3;
/* rgb */ color: rgb(39, 81, 179);
/* oklch */ color: oklch(46.5% 0.163 263.7);
Tailwind
colors: {
  custom: {
    50: '#7781ca',
    500: '#2751b3',
    950: '#000000',
  },
}
SCSS
$custom: #2751b3;
$custom-light: #7781ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2751b3",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 222,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46505,
    "c": 0.16311,
    "h": 263.7
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#2751B3
secondary
#C8AD6E
accent
#B541E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2751B3

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

Preview Lab → · Contrast checker → · Palette generator →

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