#2758BE#2758BE

#2758BE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.169 H 262.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2758BE
RGBrgb(39, 88, 190)
HSLhsl(221, 66%, 45%)
HSVhsv(221, 79%, 75%)
CMYKcmyk(79.5%, 53.7%, 0%, 25.5%)
CIE-LABlab(39.79, 21.14, -58.24)
CIE-LCHlch(39.79, 61.96, 289.95°)
OKLaboklab(48.83% -0.0218 -0.1679)
OKLCHoklch(48.83% 0.169 262.6)
XYZxyz(13.6174, 11.1269, 50.1352)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758BE #BE8D27
analogous
#27A3BE #2758BE #4227BE
triadic
#2758BE #BE2758 #58BE27
tetradic
#2758BE #BE27A3 #BE8D27 #27BE42
square
#2758BE #BE27A3 #BE8D27 #27BE42
split-complementary
#2758BE #BE4227 #A3BE27
monochromatic
#122958 #1D408B #2758BE #4978DA #7B9DE4

Accessibility & contrast

On white

6.51
#2758BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2758BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2758BE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2758BE#FFFFFF#000000##FFFFFF
##2758BE1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0165C2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2758be;
/* rgb */ color: rgb(39, 88, 190);
/* oklch */ color: oklch(48.8% 0.169 262.6);
Tailwind
colors: {
  custom: {
    50: '#7986d2',
    500: '#2758be',
    950: '#000000',
  },
}
SCSS
$custom: #2758be;
$custom-light: #7986d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2758be",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 220.53,
    "s": 65.939,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.16936,
    "h": 262.6
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#2758BE
secondary
#CCB075
accent
#B23FE9
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2758BE

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

Preview Lab → · Contrast checker → · Palette generator →

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