#2748BD#2748BD

#2748BD is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.187 H 266.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2748BD
RGBrgb(39, 72, 189)
HSLhsl(227, 66%, 45%)
HSVhsv(227, 79%, 74%)
CMYKcmyk(79.4%, 61.9%, 0%, 25.9%)
CIE-LABlab(35.48, 31.27, -64.69)
CIE-LCHlch(35.48, 71.85, 295.80°)
OKLaboklab(45.57% -0.0115 -0.1871)
OKLCHoklch(45.57% 0.187 266.5)
XYZxyz(12.3362, 8.7388, 49.1708)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748BD #BD9C27
analogous
#2793BD #2748BD #5127BD
triadic
#2748BD #BD2748 #48BD27
tetradic
#2748BD #BD2793 #BD9C27 #27BD51
square
#2748BD #BD2793 #BD9C27 #27BD51
split-complementary
#2748BD #BD5127 #93BD27
monochromatic
#122158 #1D358A #2748BD #4868D9 #7B92E4

Accessibility & contrast

On white

7.64
#2748BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2748BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748BD
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748BD#FFFFFF#000000##FFFFFF
##2748BD1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2748bd;
/* rgb */ color: rgb(39, 72, 189);
/* oklch */ color: oklch(45.6% 0.187 266.5);
Tailwind
colors: {
  custom: {
    50: '#7a7ad2',
    500: '#2748bd',
    950: '#000000',
  },
}
SCSS
$custom: #2748bd;
$custom-light: #7a7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2748bd",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 226.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45569,
    "c": 0.18747,
    "h": 266.5
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#2748BD
secondary
#CCB874
accent
#C33FE9
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2748BD

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

Preview Lab → · Contrast checker → · Palette generator →

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