#2758A6#2758A6

#2758A6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.137 H 259.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2758A6
RGBrgb(39, 88, 166)
HSLhsl(217, 62%, 40%)
HSVhsv(217, 77%, 65%)
CMYKcmyk(76.5%, 47%, 0%, 34.9%)
CIE-LABlab(38.13, 11.85, -46.78)
CIE-LCHlch(38.13, 48.26, 284.21°)
OKLaboklab(47.04% -0.025 -0.1342)
OKLCHoklch(47.04% 0.137 259.4)
XYZxyz(11.2069, 10.1627, 37.4400)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758A6 #A67527
analogous
#2798A6 #2758A6 #3527A6
triadic
#2758A6 #A62758 #58A627
tetradic
#2758A6 #A62798 #A67527 #27A635
square
#2758A6 #A62798 #A67527 #27A635
split-complementary
#2758A6 #A63527 #98A627
monochromatic
#102343 #1B3E74 #2758A6 #3A74D1 #6B97DC

Accessibility & contrast

On white

6.92
#2758A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2758A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2758A6
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2758A6#FFFFFF#000000##FFFFFF
##2758A61.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A9
Deuteranopia (green-blind)
#0E54A4
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2758a6;
/* rgb */ color: rgb(39, 88, 166);
/* oklch */ color: oklch(47.0% 0.137 259.4);
Tailwind
colors: {
  custom: {
    50: '#7486c1',
    500: '#2758a6',
    950: '#000000',
  },
}
SCSS
$custom: #2758a6;
$custom-light: #7486c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2758a6",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 166
  },
  "hsl": {
    "h": 216.85,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47035,
    "c": 0.13654,
    "h": 259.4
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#2758A6
secondary
#C39F66
accent
#A643E5
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2758A6

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

Preview Lab → · Contrast checker → · Palette generator →

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