#2748A4#2748A4

#2748A4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.154 H 265.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2748A4
RGBrgb(39, 72, 164)
HSLhsl(224, 62%, 40%)
HSVhsv(224, 76%, 64%)
CMYKcmyk(76.2%, 56.1%, 0%, 35.7%)
CIE-LABlab(33.45, 21.74, -53.16)
CIE-LCHlch(33.45, 57.43, 292.25°)
OKLaboklab(43.42% -0.0123 -0.1533)
OKLCHoklch(43.42% 0.154 265.4)
XYZxyz(9.8525, 7.7453, 36.0905)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748A4 #A48327
analogous
#2787A4 #2748A4 #4527A4
triadic
#2748A4 #A42748 #48A427
tetradic
#2748A4 #A42787 #A48327 #27A445
square
#2748A4 #A42787 #A48327 #27A445
split-complementary
#2748A4 #A44527 #87A427
monochromatic
#0F1D41 #1B3273 #2748A4 #3860D0 #6A88DC

Accessibility & contrast

On white

8.24
#2748A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2748A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748A4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748A4#FFFFFF#000000##FFFFFF
##2748A41.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2748a4;
/* rgb */ color: rgb(39, 72, 164);
/* oklch */ color: oklch(43.4% 0.154 265.4);
Tailwind
colors: {
  custom: {
    50: '#747ac0',
    500: '#2748a4',
    950: '#000000',
  },
}
SCSS
$custom: #2748a4;
$custom-light: #747ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2748a4",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 224.16,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.15376,
    "h": 265.4
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#2748A4
secondary
#C2A965
accent
#BA43E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2748A4

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

Preview Lab → · Contrast checker → · Palette generator →

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