#2757BA#2757BA

#2757BA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.165 H 262.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2757BA
RGBrgb(39, 87, 186)
HSLhsl(220, 65%, 44%)
HSVhsv(220, 79%, 73%)
CMYKcmyk(79%, 53.2%, 0%, 27.1%)
CIE-LABlab(39.23, 20.26, -56.82)
CIE-LCHlch(39.23, 60.33, 289.62°)
OKLaboklab(48.31% -0.0215 -0.1638)
OKLCHoklch(48.31% 0.165 262.5)
XYZxyz(13.1046, 10.7914, 47.8371)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2757BA #BA8A27
analogous
#27A1BA #2757BA #4127BA
triadic
#2757BA #BA2757 #57BA27
tetradic
#2757BA #BA27A1 #BA8A27 #27BA41
square
#2757BA #BA27A1 #BA8A27 #27BA41
split-complementary
#2757BA #BA4127 #A1BA27
monochromatic
#122855 #1C3F87 #2757BA #4676D8 #799BE3

Accessibility & contrast

On white

6.65
#2757BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2757BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2757BA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2757BA#FFFFFF#000000##FFFFFF
##2757BA1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0963BD
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2757ba;
/* rgb */ color: rgb(39, 87, 186);
/* oklch */ color: oklch(48.3% 0.165 262.5);
Tailwind
colors: {
  custom: {
    50: '#7885cf',
    500: '#2757ba',
    950: '#000000',
  },
}
SCSS
$custom: #2757ba;
$custom-light: #7885cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2757ba",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 220.408,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48311,
    "c": 0.16519,
    "h": 262.5
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#2757BA
secondary
#CBAE72
accent
#B140E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2757BA

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

Preview Lab → · Contrast checker → · Palette generator →

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