#2758B7#2758B7

#2758B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.160 H 261.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2758B7
RGBrgb(39, 88, 183)
HSLhsl(220, 65%, 44%)
HSVhsv(220, 79%, 72%)
CMYKcmyk(78.7%, 51.9%, 0%, 28.2%)
CIE-LABlab(39.29, 18.44, -54.96)
CIE-LCHlch(39.29, 57.97, 288.55°)
OKLaboklab(48.29% -0.0226 -0.1583)
OKLCHoklch(48.29% 0.16 261.9)
XYZxyz(12.8706, 10.8282, 46.2023)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758B7 #B78627
analogous
#27A0B7 #2758B7 #3E27B7
triadic
#2758B7 #B72758 #58B727
tetradic
#2758B7 #B727A0 #B78627 #27B73E
square
#2758B7 #B727A0 #B78627 #27B73E
split-complementary
#2758B7 #B73E27 #A0B727
monochromatic
#112752 #1C4085 #2758B7 #4476D7 #769BE2

Accessibility & contrast

On white

6.63
#2758B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2758B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2758B7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2758B7#FFFFFF#000000##FFFFFF
##2758B71.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1763BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2758b7;
/* rgb */ color: rgb(39, 88, 183);
/* oklch */ color: oklch(48.3% 0.160 261.9);
Tailwind
colors: {
  custom: {
    50: '#7886cd',
    500: '#2758b7',
    950: '#000000',
  },
}
SCSS
$custom: #2758b7;
$custom-light: #7886cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2758b7",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 219.583,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48291,
    "c": 0.1599,
    "h": 261.9
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

primary
#2758B7
secondary
#C9AB70
accent
#AF40E8
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2758B7

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

Preview Lab → · Contrast checker → · Palette generator →

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