#2752BF#2752BF

#2752BF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.178 H 264.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2752BF
RGBrgb(39, 82, 191)
HSLhsl(223, 66%, 45%)
HSVhsv(223, 80%, 75%)
CMYKcmyk(79.6%, 57.1%, 0%, 25.1%)
CIE-LABlab(38.24, 25.47, -61.34)
CIE-LCHlch(38.24, 66.42, 292.55°)
OKLaboklab(47.69% -0.0177 -0.1772)
OKLCHoklch(47.69% 0.178 264.3)
XYZxyz(13.2546, 10.2260, 50.5553)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2752BF #BF9427
analogous
#279EBF #2752BF #4827BF
triadic
#2752BF #BF2752 #52BF27
tetradic
#2752BF #BF279E #BF9427 #27BF48
square
#2752BF #BF279E #BF9427 #27BF48
split-complementary
#2752BF #BF4827 #9EBF27
monochromatic
#122659 #1D3C8C #2752BF #4972DA #7C9AE4

Accessibility & contrast

On white

6.90
#2752BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2752BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2752BF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2752BF#FFFFFF#000000##FFFFFF
##2752BF1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2752bf;
/* rgb */ color: rgb(39, 82, 191);
/* oklch */ color: oklch(47.7% 0.178 264.3);
Tailwind
colors: {
  custom: {
    50: '#7a82d3',
    500: '#2752bf',
    950: '#000000',
  },
}
SCSS
$custom: #2752bf;
$custom-light: #7a82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2752bf",
  "rgb": {
    "r": 39,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 223.026,
    "s": 66.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.17804,
    "h": 264.3
  },
  "luminance": 0.10228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2752BF

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

Preview Lab → · Contrast checker → · Palette generator →

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