#2748BA#2748BA

#2748BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.184 H 266.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2748BA
RGBrgb(39, 72, 186)
HSLhsl(227, 65%, 44%)
HSVhsv(227, 79%, 73%)
CMYKcmyk(79%, 61.3%, 0%, 27.1%)
CIE-LABlab(35.22, 30.15, -63.34)
CIE-LCHlch(35.22, 70.15, 295.45°)
OKLaboklab(45.3% -0.0115 -0.1832)
OKLCHoklch(45.3% 0.184 266.4)
XYZxyz(12.0139, 8.6098, 47.4735)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748BA #BA9927
analogous
#2792BA #2748BA #5027BA
triadic
#2748BA #BA2748 #48BA27
tetradic
#2748BA #BA2792 #BA9927 #27BA50
square
#2748BA #BA2792 #BA9927 #27BA50
split-complementary
#2748BA #BA5027 #92BA27
monochromatic
#122155 #1C3487 #2748BA #4667D8 #7990E3

Accessibility & contrast

On white

7.71
#2748BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2748BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748BA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748BA#FFFFFF#000000##FFFFFF
##2748BA1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2748ba;
/* rgb */ color: rgb(39, 72, 186);
/* oklch */ color: oklch(45.3% 0.184 266.4);
Tailwind
colors: {
  custom: {
    50: '#797ad0',
    500: '#2748ba',
    950: '#000000',
  },
}
SCSS
$custom: #2748ba;
$custom-light: #797ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2748ba",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 226.531,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45301,
    "c": 0.18353,
    "h": 266.4
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#2748BA
secondary
#CBB772
accent
#C240E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2748BA

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

Preview Lab → · Contrast checker → · Palette generator →

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