#2751BF#2751BF

#2751BF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.179 H 264.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2751BF
RGBrgb(39, 81, 191)
HSLhsl(223, 66%, 45%)
HSVhsv(223, 80%, 75%)
CMYKcmyk(79.6%, 57.6%, 0%, 25.1%)
CIE-LABlab(37.98, 26.13, -61.78)
CIE-LCHlch(37.98, 67.08, 292.93°)
OKLaboklab(47.49% -0.017 -0.1784)
OKLCHoklch(47.49% 0.179 264.6)
XYZxyz(13.1798, 10.0762, 50.5304)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2751BF #BF9527
analogous
#279DBF #2751BF #4927BF
triadic
#2751BF #BF2751 #51BF27
tetradic
#2751BF #BF279D #BF9527 #27BF49
square
#2751BF #BF279D #BF9527 #27BF49
split-complementary
#2751BF #BF4927 #9DBF27
monochromatic
#122659 #1D3B8C #2751BF #4971DA #7C99E4

Accessibility & contrast

On white

6.96
#2751BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2751BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2751BF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2751BF#FFFFFF#000000##FFFFFF
##2751BF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2751bf;
/* rgb */ color: rgb(39, 81, 191);
/* oklch */ color: oklch(47.5% 0.179 264.6);
Tailwind
colors: {
  custom: {
    50: '#7a81d3',
    500: '#2751bf',
    950: '#000000',
  },
}
SCSS
$custom: #2751bf;
$custom-light: #7a81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2751bf",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 223.421,
    "s": 66.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.17926,
    "h": 264.6
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#2751BF
secondary
#CCB475
accent
#BA3FE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2751BF

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

Preview Lab → · Contrast checker → · Palette generator →

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