#2748A8#2748A8

#2748A8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.159 H 265.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2748A8
RGBrgb(39, 72, 168)
HSLhsl(225, 62%, 41%)
HSVhsv(225, 77%, 66%)
CMYKcmyk(76.8%, 57.1%, 0%, 34.1%)
CIE-LABlab(33.76, 23.29, -55.05)
CIE-LCHlch(33.76, 59.77, 292.93°)
OKLaboklab(43.75% -0.012 -0.1588)
OKLCHoklch(43.75% 0.159 265.7)
XYZxyz(10.2195, 7.8921, 38.0229)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748A8 #A88727
analogous
#2788A8 #2748A8 #4627A8
triadic
#2748A8 #A82748 #48A827
tetradic
#2748A8 #A82788 #A88727 #27A846
square
#2748A8 #A82788 #A88727 #27A846
split-complementary
#2748A8 #A84627 #88A827
monochromatic
#101D45 #1B3376 #2748A8 #3B61D1 #6C89DD

Accessibility & contrast

On white

8.14
#2748A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2748A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748A8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748A8#FFFFFF#000000##FFFFFF
##2748A81.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2748a8;
/* rgb */ color: rgb(39, 72, 168);
/* oklch */ color: oklch(43.8% 0.159 265.7);
Tailwind
colors: {
  custom: {
    50: '#757ac3',
    500: '#2748a8',
    950: '#000000',
  },
}
SCSS
$custom: #2748a8;
$custom-light: #757ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2748a8",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 224.651,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.15929,
    "h": 265.7
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#2748A8
secondary
#C3AC67
accent
#BC42E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2748A8

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

Preview Lab → · Contrast checker → · Palette generator →

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