#2748AB#2748AB

#2748AB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.163 H 265.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2748AB
RGBrgb(39, 72, 171)
HSLhsl(225, 63%, 41%)
HSVhsv(225, 77%, 67%)
CMYKcmyk(77.2%, 57.9%, 0%, 32.9%)
CIE-LABlab(33.99, 24.44, -56.46)
CIE-LCHlch(33.99, 61.52, 293.41°)
OKLaboklab(44% -0.0119 -0.163)
OKLCHoklch(44% 0.163 265.8)
XYZxyz(10.5022, 8.0052, 39.5118)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748AB #AB8A27
analogous
#278AAB #2748AB #4827AB
triadic
#2748AB #AB2748 #48AB27
tetradic
#2748AB #AB278A #AB8A27 #27AB48
square
#2748AB #AB278A #AB8A27 #27AB48
split-complementary
#2748AB #AB4827 #8AAB27
monochromatic
#101E47 #1C3379 #2748AB #3D62D3 #6E8ADE

Accessibility & contrast

On white

8.07
#2748AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2748AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748AB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748AB#FFFFFF#000000##FFFFFF
##2748AB1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2748ab;
/* rgb */ color: rgb(39, 72, 171);
/* oklch */ color: oklch(44.0% 0.163 265.8);
Tailwind
colors: {
  custom: {
    50: '#767ac5',
    500: '#2748ab',
    950: '#000000',
  },
}
SCSS
$custom: #2748ab;
$custom-light: #767ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2748ab",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 225,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44002,
    "c": 0.1634,
    "h": 265.8
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#2748AB
secondary
#C5AE69
accent
#BD42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2748AB

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

Preview Lab → · Contrast checker → · Palette generator →

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