#2762B7#2762B7

#2762B7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.148 H 258.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2762B7
RGBrgb(39, 98, 183)
HSLhsl(215, 65%, 44%)
HSVhsv(215, 79%, 72%)
CMYKcmyk(78.7%, 46.4%, 0%, 28.2%)
CIE-LABlab(42.13, 11.91, -50.38)
CIE-LCHlch(42.13, 51.77, 283.30°)
OKLaboklab(50.47% -0.0304 -0.1446)
OKLCHoklch(50.47% 0.148 258.1)
XYZxyz(13.7485, 12.5840, 46.4949)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2762B7 #B77C27
analogous
#27AAB7 #2762B7 #3427B7
triadic
#2762B7 #B72762 #62B727
tetradic
#2762B7 #B727AA #B77C27 #27B734
square
#2762B7 #B727AA #B77C27 #27B734
split-complementary
#2762B7 #B73427 #AAB727
monochromatic
#112C52 #1C4785 #2762B7 #4480D7 #76A3E2

Accessibility & contrast

On white

5.97
#2762B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2762B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2762B7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2762B7#FFFFFF#000000##FFFFFF
##2762B71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346ABA
Deuteranopia (green-blind)
#0F5DB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2762b7;
/* rgb */ color: rgb(39, 98, 183);
/* oklch */ color: oklch(50.5% 0.148 258.1);
Tailwind
colors: {
  custom: {
    50: '#778ecd',
    500: '#2762b7',
    950: '#000000',
  },
}
SCSS
$custom: #2762b7;
$custom-light: #778ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2762b7",
  "rgb": {
    "r": 39,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 215.417,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.14779,
    "h": 258.1
  },
  "luminance": 0.12586
}

Semantic roles & 50–950 ramp

primary
#2762B7
secondary
#C9A570
accent
#A340E8
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2762B7

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

Preview Lab → · Contrast checker → · Palette generator →

#2762B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva