#2758A8#2758A8

#2758A8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.139 H 259.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2758A8
RGBrgb(39, 88, 168)
HSLhsl(217, 62%, 41%)
HSVhsv(217, 77%, 66%)
CMYKcmyk(76.8%, 47.6%, 0%, 34.1%)
CIE-LABlab(38.26, 12.63, -47.76)
CIE-LCHlch(38.26, 49.40, 284.81°)
OKLaboklab(47.18% -0.0247 -0.1371)
OKLCHoklch(47.18% 0.139 259.8)
XYZxyz(11.3917, 10.2366, 38.4137)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758A8 #A87727
analogous
#2798A8 #2758A8 #3627A8
triadic
#2758A8 #A82758 #58A827
tetradic
#2758A8 #A82798 #A87727 #27A836
square
#2758A8 #A82798 #A87727 #27A836
split-complementary
#2758A8 #A83627 #98A827
monochromatic
#102445 #1B3E76 #2758A8 #3B74D1 #6C97DD

Accessibility & contrast

On white

6.89
#2758A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2758A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2758A8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2758A8#FFFFFF#000000##FFFFFF
##2758A81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#0755A6
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2758a8;
/* rgb */ color: rgb(39, 88, 168);
/* oklch */ color: oklch(47.2% 0.139 259.8);
Tailwind
colors: {
  custom: {
    50: '#7486c2',
    500: '#2758a8',
    950: '#000000',
  },
}
SCSS
$custom: #2758a8;
$custom-light: #7486c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2758a8",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 168
  },
  "hsl": {
    "h": 217.209,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.13931,
    "h": 259.8
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#2758A8
secondary
#C3A067
accent
#A742E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2758A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2758A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva