#2748A6#2748A6

#2748A6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.157 H 265.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2748A6
RGBrgb(39, 72, 166)
HSLhsl(224, 62%, 40%)
HSVhsv(224, 77%, 65%)
CMYKcmyk(76.5%, 56.6%, 0%, 34.9%)
CIE-LABlab(33.60, 22.52, -54.11)
CIE-LCHlch(33.60, 58.61, 292.59°)
OKLaboklab(43.58% -0.0121 -0.1561)
OKLCHoklch(43.58% 0.157 265.6)
XYZxyz(10.0346, 7.8181, 37.0492)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2748A6 #A68527
analogous
#2788A6 #2748A6 #4527A6
triadic
#2748A6 #A62748 #48A627
tetradic
#2748A6 #A62788 #A68527 #27A645
square
#2748A6 #A62788 #A68527 #27A645
split-complementary
#2748A6 #A64527 #88A627
monochromatic
#101D43 #1B3374 #2748A6 #3A61D1 #6B89DC

Accessibility & contrast

On white

8.19
#2748A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2748A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2748A6
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2748A6#FFFFFF#000000##FFFFFF
##2748A61.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2748a6;
/* rgb */ color: rgb(39, 72, 166);
/* oklch */ color: oklch(43.6% 0.157 265.6);
Tailwind
colors: {
  custom: {
    50: '#747ac1',
    500: '#2748a6',
    950: '#000000',
  },
}
SCSS
$custom: #2748a6;
$custom-light: #747ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2748a6",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 224.409,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43584,
    "c": 0.15653,
    "h": 265.6
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#2748A6
secondary
#C3AB66
accent
#BB43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2748A6

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

Preview Lab → · Contrast checker → · Palette generator →

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