#2748B2#2748B2

#2748B2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.173 H 266.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2748B2
RGBrgb(39, 72, 178)
HSLhsl(226, 64%, 43%)
HSVhsv(226, 78%, 70%)
CMYKcmyk(78.1%, 59.6%, 0%, 30.2%)
CIE-LABlab(34.56, 27.12, -59.70)
CIE-LCHlch(34.56, 65.57, 294.43°)
OKLaboklab(44.6% -0.0116 -0.1725)
OKLCHoklch(44.6% 0.173 266.1)
XYZxyz(11.1871, 8.2791, 43.1193)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748B2 #B29127
analogous
#278EB2 #2748B2 #4B27B2
triadic
#2748B2 #B22748 #48B227
tetradic
#2748B2 #B2278E #B29127 #27B24B
square
#2748B2 #B2278E #B29127 #27B24B
split-complementary
#2748B2 #B24B27 #8EB227
monochromatic
#111F4E #1C3480 #2748B2 #4164D5 #738DE0

Accessibility & contrast

On white

7.91
#2748B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2748B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748B2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748B2#FFFFFF#000000##FFFFFF
##2748B21.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2748b2;
/* rgb */ color: rgb(39, 72, 178);
/* oklch */ color: oklch(44.6% 0.173 266.1);
Tailwind
colors: {
  custom: {
    50: '#777aca',
    500: '#2748b2',
    950: '#000000',
  },
}
SCSS
$custom: #2748b2;
$custom-light: #777aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2748b2",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 225.755,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.446,
    "c": 0.17289,
    "h": 266.1
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#2748B2
secondary
#C8B26D
accent
#C041E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2748B2

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

Preview Lab → · Contrast checker → · Palette generator →

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