#2748A5#2748A5

#2748A5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.155 H 265.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2748A5
RGBrgb(39, 72, 165)
HSLhsl(224, 62%, 40%)
HSVhsv(224, 76%, 65%)
CMYKcmyk(76.4%, 56.4%, 0%, 35.3%)
CIE-LABlab(33.52, 22.13, -53.63)
CIE-LCHlch(33.52, 58.02, 292.42°)
OKLaboklab(43.5% -0.0122 -0.1547)
OKLCHoklch(43.5% 0.155 265.5)
XYZxyz(9.9432, 7.7816, 36.5680)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748A5 #A58427
analogous
#2787A5 #2748A5 #4527A5
triadic
#2748A5 #A52748 #48A527
tetradic
#2748A5 #A52787 #A58427 #27A545
square
#2748A5 #A52787 #A58427 #27A545
split-complementary
#2748A5 #A54527 #87A527
monochromatic
#101D42 #1B3274 #2748A5 #3961D0 #6A88DC

Accessibility & contrast

On white

8.21
#2748A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2748A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748A5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748A5#FFFFFF#000000##FFFFFF
##2748A51.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2748a5;
/* rgb */ color: rgb(39, 72, 165);
/* oklch */ color: oklch(43.5% 0.155 265.5);
Tailwind
colors: {
  custom: {
    50: '#747ac0',
    500: '#2748a5',
    950: '#000000',
  },
}
SCSS
$custom: #2748a5;
$custom-light: #747ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2748a5",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 224.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.15515,
    "h": 265.5
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2748A5

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

Preview Lab → · Contrast checker → · Palette generator →

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