#2748B3#2748B3

#2748B3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.174 H 266.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2748B3
RGBrgb(39, 72, 179)
HSLhsl(226, 64%, 43%)
HSVhsv(226, 78%, 70%)
CMYKcmyk(78.2%, 59.8%, 0%, 29.8%)
CIE-LABlab(34.64, 27.50, -60.16)
CIE-LCHlch(34.64, 66.15, 294.56°)
OKLaboklab(44.69% -0.0116 -0.1738)
OKLCHoklch(44.69% 0.174 266.2)
XYZxyz(11.2879, 8.3194, 43.6500)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748B3 #B39227
analogous
#278EB3 #2748B3 #4C27B3
triadic
#2748B3 #B32748 #48B327
tetradic
#2748B3 #B3278E #B39227 #27B34C
square
#2748B3 #B3278E #B39227 #27B34C
split-complementary
#2748B3 #B34C27 #8EB327
monochromatic
#11204E #1C3481 #2748B3 #4164D6 #748DE1

Accessibility & contrast

On white

7.88
#2748B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2748B3
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748B3#FFFFFF#000000##FFFFFF
##2748B31.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2748b3;
/* rgb */ color: rgb(39, 72, 179);
/* oklch */ color: oklch(44.7% 0.174 266.2);
Tailwind
colors: {
  custom: {
    50: '#787acb',
    500: '#2748b3',
    950: '#000000',
  },
}
SCSS
$custom: #2748b3;
$custom-light: #787acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2748b3",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 225.857,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44687,
    "c": 0.17423,
    "h": 266.2
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#2748B3
secondary
#C8B36E
accent
#C041E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2748B3

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

Preview Lab → · Contrast checker → · Palette generator →

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