#2748AF#2748AF

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

Color values

HEX#2748AF
RGBrgb(39, 72, 175)
HSLhsl(225, 64%, 42%)
HSVhsv(225, 78%, 69%)
CMYKcmyk(77.7%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.31, 25.97, -58.32)
CIE-LCHlch(34.31, 63.84, 294.00°)
OKLaboklab(44.34% -0.0117 -0.1684)
OKLCHoklch(44.34% 0.169 266)
XYZxyz(10.8892, 8.1600, 41.5503)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748AF #AF8E27
analogous
#278CAF #2748AF #4A27AF
triadic
#2748AF #AF2748 #48AF27
tetradic
#2748AF #AF278C #AF8E27 #27AF4A
square
#2748AF #AF278C #AF8E27 #27AF4A
split-complementary
#2748AF #AF4A27 #8CAF27
monochromatic
#111F4B #1C337D #2748AF #3F63D4 #718CDF

Accessibility & contrast

On white

7.98
#2748AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2748AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748AF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748AF#FFFFFF#000000##FFFFFF
##2748AF1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2748af;
/* rgb */ color: rgb(39, 72, 175);
/* oklch */ color: oklch(44.3% 0.169 266.0);
Tailwind
colors: {
  custom: {
    50: '#777ac8',
    500: '#2748af',
    950: '#000000',
  },
}
SCSS
$custom: #2748af;
$custom-light: #777ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2748af",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 225.441,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.16884,
    "h": 266
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2748AF

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

Preview Lab → · Contrast checker → · Palette generator →

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