#2758A7#2758A7

#2758A7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.138 H 259.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2758A7
RGBrgb(39, 88, 167)
HSLhsl(217, 62%, 40%)
HSVhsv(217, 77%, 65%)
CMYKcmyk(76.6%, 47.3%, 0%, 34.5%)
CIE-LABlab(38.20, 12.24, -47.27)
CIE-LCHlch(38.20, 48.83, 284.51°)
OKLaboklab(47.11% -0.0249 -0.1357)
OKLCHoklch(47.11% 0.138 259.6)
XYZxyz(11.2989, 10.1995, 37.9249)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758A7 #A77627
analogous
#2798A7 #2758A7 #3627A7
triadic
#2758A7 #A72758 #58A727
tetradic
#2758A7 #A72798 #A77627 #27A736
square
#2758A7 #A72798 #A77627 #27A736
split-complementary
#2758A7 #A73627 #98A727
monochromatic
#102444 #1B3E75 #2758A7 #3A74D1 #6C97DD

Accessibility & contrast

On white

6.91
#2758A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2758A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2758A7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2758A7#FFFFFF#000000##FFFFFF
##2758A71.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#0B54A5
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2758a7;
/* rgb */ color: rgb(39, 88, 167);
/* oklch */ color: oklch(47.1% 0.138 259.6);
Tailwind
colors: {
  custom: {
    50: '#7486c2',
    500: '#2758a7',
    950: '#000000',
  },
}
SCSS
$custom: #2758a7;
$custom-light: #7486c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2758a7",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 167
  },
  "hsl": {
    "h": 217.031,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47107,
    "c": 0.13792,
    "h": 259.6
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2758A7

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

Preview Lab → · Contrast checker → · Palette generator →

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