#2758B1#2758B1

#2758B1 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.152 H 261.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2758B1
RGBrgb(39, 88, 177)
HSLhsl(219, 64%, 42%)
HSVhsv(219, 78%, 69%)
CMYKcmyk(78%, 50.3%, 0%, 30.6%)
CIE-LABlab(38.87, 16.12, -52.11)
CIE-LCHlch(38.87, 54.55, 287.19°)
OKLaboklab(47.84% -0.0233 -0.1499)
OKLCHoklch(47.84% 0.152 261.1)
XYZxyz(12.2594, 10.5837, 42.9832)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758B1 #B18027
analogous
#279DB1 #2758B1 #3B27B1
triadic
#2758B1 #B12758 #58B127
tetradic
#2758B1 #B1279D #B18027 #27B13B
square
#2758B1 #B1279D #B18027 #27B13B
split-complementary
#2758B1 #B13B27 #9DB127
monochromatic
#11264D #1C3F7F #2758B1 #4075D5 #7299E0

Accessibility & contrast

On white

6.74
#2758B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2758B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2758B1
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2758B1#FFFFFF#000000##FFFFFF
##2758B11.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2262B4
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2758b1;
/* rgb */ color: rgb(39, 88, 177);
/* oklch */ color: oklch(47.8% 0.152 261.1);
Tailwind
colors: {
  custom: {
    50: '#7686c9',
    500: '#2758b1',
    950: '#000000',
  },
}
SCSS
$custom: #2758b1;
$custom-light: #7686c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2758b1",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 177
  },
  "hsl": {
    "h": 218.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.15171,
    "h": 261.1
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#2758B1
secondary
#C7A76D
accent
#AC41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2758B1

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

Preview Lab → · Contrast checker → · Palette generator →

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