#2758A5#2758A5

#2758A5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.135 H 259.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2758A5
RGBrgb(39, 88, 165)
HSLhsl(217, 62%, 40%)
HSVhsv(217, 76%, 65%)
CMYKcmyk(76.4%, 46.7%, 0%, 35.3%)
CIE-LABlab(38.07, 11.46, -46.29)
CIE-LCHlch(38.07, 47.69, 283.91°)
OKLaboklab(46.97% -0.0252 -0.1328)
OKLCHoklch(46.97% 0.135 259.2)
XYZxyz(11.1155, 10.1261, 36.9587)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758A5 #A57427
analogous
#2797A5 #2758A5 #3527A5
triadic
#2758A5 #A52758 #58A527
tetradic
#2758A5 #A52797 #A57427 #27A535
square
#2758A5 #A52797 #A57427 #27A535
split-complementary
#2758A5 #A53527 #97A527
monochromatic
#102342 #1B3E74 #2758A5 #3974D0 #6A97DC

Accessibility & contrast

On white

6.94
#2758A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2758A5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2758A5#FFFFFF#000000##FFFFFF
##2758A51.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#1154A3
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2758a5;
/* rgb */ color: rgb(39, 88, 165);
/* oklch */ color: oklch(47.0% 0.135 259.2);
Tailwind
colors: {
  custom: {
    50: '#7386c0',
    500: '#2758a5',
    950: '#000000',
  },
}
SCSS
$custom: #2758a5;
$custom-light: #7386c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2758a5",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 216.667,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.13515,
    "h": 259.2
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2758A5

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

Preview Lab → · Contrast checker → · Palette generator →

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