#2748A1#2748A1

#2748A1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.150 H 265.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2748A1
RGBrgb(39, 72, 161)
HSLhsl(224, 61%, 39%)
HSVhsv(224, 76%, 63%)
CMYKcmyk(75.8%, 55.3%, 0%, 36.9%)
CIE-LABlab(33.22, 20.58, -51.73)
CIE-LCHlch(33.22, 55.67, 291.70°)
OKLaboklab(43.17% -0.0125 -0.1491)
OKLCHoklch(43.17% 0.15 265.2)
XYZxyz(9.5848, 7.6382, 34.6805)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748A1 #A18027
analogous
#2785A1 #2748A1 #4327A1
triadic
#2748A1 #A12748 #48A127
tetradic
#2748A1 #A12785 #A18027 #27A143
square
#2748A1 #A12785 #A18027 #27A143
split-complementary
#2748A1 #A14327 #85A127
monochromatic
#0F1C3E #1B3270 #2748A1 #3760CE #6887DA

Accessibility & contrast

On white

8.31
#2748A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2748A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748A1
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748A1#FFFFFF#000000##FFFFFF
##2748A11.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2748a1;
/* rgb */ color: rgb(39, 72, 161);
/* oklch */ color: oklch(43.2% 0.150 265.2);
Tailwind
colors: {
  custom: {
    50: '#737abd',
    500: '#2748a1',
    950: '#000000',
  },
}
SCSS
$custom: #2748a1;
$custom-light: #737abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2748a1",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 223.77,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.14958,
    "h": 265.2
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#2748A1
secondary
#C0A763
accent
#B944E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2748A1

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

Preview Lab → · Contrast checker → · Palette generator →

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