#2748AE#2748AE

#2748AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.167 H 266.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2748AE
RGBrgb(39, 72, 174)
HSLhsl(225, 63%, 42%)
HSVhsv(225, 78%, 68%)
CMYKcmyk(77.6%, 58.6%, 0%, 31.8%)
CIE-LABlab(34.23, 25.59, -57.86)
CIE-LCHlch(34.23, 63.26, 293.86°)
OKLaboklab(44.26% -0.0117 -0.1671)
OKLCHoklch(44.26% 0.167 266)
XYZxyz(10.7914, 8.1208, 41.0349)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748AE #AE8D27
analogous
#278CAE #2748AE #4927AE
triadic
#2748AE #AE2748 #48AE27
tetradic
#2748AE #AE278C #AE8D27 #27AE49
square
#2748AE #AE278C #AE8D27 #27AE49
split-complementary
#2748AE #AE4927 #8CAE27
monochromatic
#111F4A #1C337C #2748AE #3E63D4 #708BDF

Accessibility & contrast

On white

8.00
#2748AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2748AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748AE
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748AE#FFFFFF#000000##FFFFFF
##2748AE1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2748ae;
/* rgb */ color: rgb(39, 72, 174);
/* oklch */ color: oklch(44.3% 0.167 266.0);
Tailwind
colors: {
  custom: {
    50: '#767ac7',
    500: '#2748ae',
    950: '#000000',
  },
}
SCSS
$custom: #2748ae;
$custom-light: #767ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2748ae",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 225.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44256,
    "c": 0.16748,
    "h": 266
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#2748AE
secondary
#C6B06B
accent
#BE41E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2748AE

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

Preview Lab → · Contrast checker → · Palette generator →

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