#2758BA#2758BA

#2758BA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.164 H 262.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2758BA
RGBrgb(39, 88, 186)
HSLhsl(220, 65%, 44%)
HSVhsv(220, 79%, 73%)
CMYKcmyk(79%, 52.7%, 0%, 27.1%)
CIE-LABlab(39.50, 19.60, -56.38)
CIE-LCHlch(39.50, 59.69, 289.17°)
OKLaboklab(48.52% -0.0223 -0.1624)
OKLCHoklch(48.52% 0.164 262.2)
XYZxyz(13.1862, 10.9544, 47.8643)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758BA #BA8927
analogous
#27A2BA #2758BA #4027BA
triadic
#2758BA #BA2758 #58BA27
tetradic
#2758BA #BA27A2 #BA8927 #27BA40
square
#2758BA #BA27A2 #BA8927 #27BA40
split-complementary
#2758BA #BA4027 #A2BA27
monochromatic
#122855 #1C4087 #2758BA #4677D8 #799CE3

Accessibility & contrast

On white

6.58
#2758BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2758BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2758BA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2758BA#FFFFFF#000000##FFFFFF
##2758BA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1064BD
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2758ba;
/* rgb */ color: rgb(39, 88, 186);
/* oklch */ color: oklch(48.5% 0.164 262.2);
Tailwind
colors: {
  custom: {
    50: '#7886cf',
    500: '#2758ba',
    950: '#000000',
  },
}
SCSS
$custom: #2758ba;
$custom-light: #7886cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2758ba",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 220,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.16397,
    "h": 262.2
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#2758BA
secondary
#CBAD72
accent
#B040E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2758BA

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

Preview Lab → · Contrast checker → · Palette generator →

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