#2758A4#2758A4

#2758A4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.134 H 259.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2758A4
RGBrgb(39, 88, 164)
HSLhsl(216, 62%, 40%)
HSVhsv(216, 76%, 64%)
CMYKcmyk(76.2%, 46.3%, 0%, 35.7%)
CIE-LABlab(38.00, 11.07, -45.80)
CIE-LCHlch(38.00, 47.12, 283.59°)
OKLaboklab(46.89% -0.0254 -0.1313)
OKLCHoklch(46.89% 0.134 259.1)
XYZxyz(11.0248, 10.0899, 36.4813)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758A4 #A47327
analogous
#2797A4 #2758A4 #3527A4
triadic
#2758A4 #A42758 #58A427
tetradic
#2758A4 #A42797 #A47327 #27A435
square
#2758A4 #A42797 #A47327 #27A435
split-complementary
#2758A4 #A43527 #97A427
monochromatic
#0F2341 #1B3D73 #2758A4 #3874D0 #6A96DC

Accessibility & contrast

On white

6.96
#2758A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2758A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2758A4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2758A4#FFFFFF#000000##FFFFFF
##2758A41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A7
Deuteranopia (green-blind)
#1454A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2758a4;
/* rgb */ color: rgb(39, 88, 164);
/* oklch */ color: oklch(46.9% 0.134 259.1);
Tailwind
colors: {
  custom: {
    50: '#7386bf',
    500: '#2758a4',
    950: '#000000',
  },
}
SCSS
$custom: #2758a4;
$custom-light: #7386bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2758a4",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 216.48,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46894,
    "c": 0.13376,
    "h": 259.1
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#2758A4
secondary
#C29D65
accent
#A543E5
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2758A4

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

Preview Lab → · Contrast checker → · Palette generator →

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