#2762BC#2762BC

#2762BC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.155 H 259.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2762BC
RGBrgb(39, 98, 188)
HSLhsl(216, 66%, 45%)
HSVhsv(216, 79%, 74%)
CMYKcmyk(79.3%, 47.9%, 0%, 26.3%)
CIE-LABlab(42.45, 13.84, -52.78)
CIE-LCHlch(42.45, 54.56, 284.69°)
OKLaboklab(50.82% -0.0296 -0.1517)
OKLCHoklch(50.82% 0.155 259)
XYZxyz(14.2782, 12.7958, 49.2845)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2762BC #BC8127
analogous
#27ADBC #2762BC #3727BC
triadic
#2762BC #BC2762 #62BC27
tetradic
#2762BC #BC27AD #BC8127 #27BC37
square
#2762BC #BC27AD #BC8127 #27BC37
split-complementary
#2762BC #BC3727 #ADBC27
monochromatic
#122D57 #1C4889 #2762BC #4781D9 #7AA4E3

Accessibility & contrast

On white

5.90
#2762BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2762BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2762BC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2762BC#FFFFFF#000000##FFFFFF
##2762BC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2762bc;
/* rgb */ color: rgb(39, 98, 188);
/* oklch */ color: oklch(50.8% 0.155 259.0);
Tailwind
colors: {
  custom: {
    50: '#788ed1',
    500: '#2762bc',
    950: '#000000',
  },
}
SCSS
$custom: #2762bc;
$custom-light: #788ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2762bc",
  "rgb": {
    "r": 39,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 216.242,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50822,
    "c": 0.15452,
    "h": 259
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#2762BC
secondary
#CBA973
accent
#A63FE9
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2762BC

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

Preview Lab → · Contrast checker → · Palette generator →

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