#2757B2#2757B2

#2757B2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.154 H 261.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2757B2
RGBrgb(39, 87, 178)
HSLhsl(219, 64%, 43%)
HSVhsv(219, 78%, 70%)
CMYKcmyk(78.1%, 51.1%, 0%, 30.2%)
CIE-LABlab(38.66, 17.16, -53.05)
CIE-LCHlch(38.66, 55.75, 287.93°)
OKLaboklab(47.7% -0.0224 -0.1527)
OKLCHoklch(47.7% 0.154 261.6)
XYZxyz(12.2779, 10.4607, 43.4829)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2757B2 #B28227
analogous
#279CB2 #2757B2 #3D27B2
triadic
#2757B2 #B22757 #57B227
tetradic
#2757B2 #B2279C #B28227 #27B23D
square
#2757B2 #B2279C #B28227 #27B23D
split-complementary
#2757B2 #B23D27 #9CB227
monochromatic
#11264E #1C3E80 #2757B2 #4174D5 #7399E0

Accessibility & contrast

On white

6.79
#2757B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2757B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2757B2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2757B2#FFFFFF#000000##FFFFFF
##2757B21.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2757b2;
/* rgb */ color: rgb(39, 87, 178);
/* oklch */ color: oklch(47.7% 0.154 261.6);
Tailwind
colors: {
  custom: {
    50: '#7685ca',
    500: '#2757b2',
    950: '#000000',
  },
}
SCSS
$custom: #2757b2;
$custom-light: #7685ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2757b2",
  "rgb": {
    "r": 39,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 219.281,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.15431,
    "h": 261.6
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#2757B2
secondary
#C8A86D
accent
#AE41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2757B2

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

Preview Lab → · Contrast checker → · Palette generator →

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