#2757BB#2757BB

#2757BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.167 H 262.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2757BB
RGBrgb(39, 87, 187)
HSLhsl(221, 65%, 44%)
HSVhsv(221, 79%, 73%)
CMYKcmyk(79.1%, 53.5%, 0%, 26.7%)
CIE-LABlab(39.30, 20.64, -57.29)
CIE-LCHlch(39.30, 60.90, 289.82°)
OKLaboklab(48.39% -0.0214 -0.1652)
OKLCHoklch(48.39% 0.167 262.6)
XYZxyz(13.2113, 10.8340, 48.3990)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2757BB #BB8B27
analogous
#27A1BB #2757BB #4127BB
triadic
#2757BB #BB2757 #57BB27
tetradic
#2757BB #BB27A1 #BB8B27 #27BB41
square
#2757BB #BB27A1 #BB8B27 #27BB41
split-complementary
#2757BB #BB4127 #A1BB27
monochromatic
#122856 #1C3F88 #2757BB #4776D9 #799CE3

Accessibility & contrast

On white

6.63
#2757BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2757BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2757BB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2757BB#FFFFFF#000000##FFFFFF
##2757BB1.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)
#0564BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2757bb;
/* rgb */ color: rgb(39, 87, 187);
/* oklch */ color: oklch(48.4% 0.167 262.6);
Tailwind
colors: {
  custom: {
    50: '#7985d0',
    500: '#2757bb',
    950: '#000000',
  },
}
SCSS
$custom: #2757bb;
$custom-light: #7985d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2757bb",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 220.541,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.16654,
    "h": 262.6
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#2757BB
secondary
#CBAE73
accent
#B23FE8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2757BB

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

Preview Lab → · Contrast checker → · Palette generator →

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