#2751BC#2751BC

#2751BC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.175 H 264.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2751BC
RGBrgb(39, 81, 188)
HSLhsl(223, 66%, 45%)
HSVhsv(223, 79%, 74%)
CMYKcmyk(79.3%, 56.9%, 0%, 26.3%)
CIE-LABlab(37.74, 24.98, -60.40)
CIE-LCHlch(37.74, 65.37, 292.47°)
OKLaboklab(47.24% -0.0172 -0.1744)
OKLCHoklch(47.24% 0.175 264.4)
XYZxyz(12.8530, 9.9455, 48.8095)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2751BC #BC9227
analogous
#279CBC #2751BC #4727BC
triadic
#2751BC #BC2751 #51BC27
tetradic
#2751BC #BC279C #BC9227 #27BC47
square
#2751BC #BC279C #BC9227 #27BC47
split-complementary
#2751BC #BC4727 #9CBC27
monochromatic
#122557 #1C3B89 #2751BC #4770D9 #7A98E3

Accessibility & contrast

On white

7.02
#2751BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2751BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2751BC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2751BC#FFFFFF#000000##FFFFFF
##2751BC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2751bc;
/* rgb */ color: rgb(39, 81, 188);
/* oklch */ color: oklch(47.2% 0.175 264.4);
Tailwind
colors: {
  custom: {
    50: '#7981d1',
    500: '#2751bc',
    950: '#000000',
  },
}
SCSS
$custom: #2751bc;
$custom-light: #7981d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2751bc",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 223.087,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47238,
    "c": 0.17525,
    "h": 264.4
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#2751BC
secondary
#CBB373
accent
#B93FE9
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2751BC

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

Preview Lab → · Contrast checker → · Palette generator →

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