#2752BD#2752BD

#2752BD is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.175 H 264.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2752BD
RGBrgb(39, 82, 189)
HSLhsl(223, 66%, 45%)
HSVhsv(223, 79%, 74%)
CMYKcmyk(79.4%, 56.6%, 0%, 25.9%)
CIE-LABlab(38.09, 24.71, -60.43)
CIE-LCHlch(38.09, 65.28, 292.24°)
OKLaboklab(47.52% -0.0178 -0.1745)
OKLCHoklch(47.52% 0.175 264.2)
XYZxyz(13.0360, 10.1385, 49.4041)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2752BD #BD9227
analogous
#279DBD #2752BD #4727BD
triadic
#2752BD #BD2752 #52BD27
tetradic
#2752BD #BD279D #BD9227 #27BD47
square
#2752BD #BD279D #BD9227 #27BD47
split-complementary
#2752BD #BD4727 #9DBD27
monochromatic
#122658 #1D3C8A #2752BD #4872D9 #7B99E4

Accessibility & contrast

On white

6.94
#2752BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2752BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2752BD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2752BD#FFFFFF#000000##FFFFFF
##2752BD1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2752bd;
/* rgb */ color: rgb(39, 82, 189);
/* oklch */ color: oklch(47.5% 0.175 264.2);
Tailwind
colors: {
  custom: {
    50: '#7982d2',
    500: '#2752bd',
    950: '#000000',
  },
}
SCSS
$custom: #2752bd;
$custom-light: #7982d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2752bd",
  "rgb": {
    "r": 39,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 222.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47522,
    "c": 0.17537,
    "h": 264.2
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#2752BD
secondary
#CCB374
accent
#B83FE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2752BD

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

Preview Lab → · Contrast checker → · Palette generator →

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