#2757BE#2757BE

#2757BE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.171 H 262.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2757BE
RGBrgb(39, 87, 190)
HSLhsl(221, 66%, 45%)
HSVhsv(221, 79%, 75%)
CMYKcmyk(79.5%, 54.2%, 0%, 25.5%)
CIE-LABlab(39.52, 21.80, -58.69)
CIE-LCHlch(39.52, 62.61, 290.38°)
OKLaboklab(48.63% -0.0211 -0.1693)
OKLCHoklch(48.63% 0.171 262.9)
XYZxyz(13.5358, 10.9638, 50.1081)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2757BE #BE8E27
analogous
#27A3BE #2757BE #4227BE
triadic
#2757BE #BE2757 #57BE27
tetradic
#2757BE #BE27A3 #BE8E27 #27BE42
square
#2757BE #BE27A3 #BE8E27 #27BE42
split-complementary
#2757BE #BE4227 #A3BE27
monochromatic
#122858 #1D408B #2757BE #4977DA #7B9DE4

Accessibility & contrast

On white

6.58
#2757BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2757BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2757BE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2757BE#FFFFFF#000000##FFFFFF
##2757BE1.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)
#0064C2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2757be;
/* rgb */ color: rgb(39, 87, 190);
/* oklch */ color: oklch(48.6% 0.171 262.9);
Tailwind
colors: {
  custom: {
    50: '#7985d2',
    500: '#2757be',
    950: '#000000',
  },
}
SCSS
$custom: #2757be;
$custom-light: #7985d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2757be",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 220.927,
    "s": 65.939,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48626,
    "c": 0.17059,
    "h": 262.9
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2757BE

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

Preview Lab → · Contrast checker → · Palette generator →

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