#2768C5#2768C5

#2768C5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.8% C 0.159 H 258.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2768C5
RGBrgb(39, 104, 197)
HSLhsl(215, 67%, 46%)
HSVhsv(215, 80%, 77%)
CMYKcmyk(80.2%, 47.2%, 0%, 22.7%)
CIE-LABlab(44.75, 13.44, -54.30)
CIE-LCHlch(44.75, 55.94, 283.90°)
OKLaboklab(52.78% -0.0328 -0.156)
OKLCHoklch(52.78% 0.159 258.1)
XYZxyz(15.8614, 14.3613, 54.7485)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2768C5 #C58427
analogous
#27B7C5 #2768C5 #3527C5
triadic
#2768C5 #C52768 #68C527
tetradic
#2768C5 #C527B7 #C58427 #27C535
square
#2768C5 #C527B7 #C58427 #27C535
split-complementary
#2768C5 #C53527 #B7C527
monochromatic
#13325F #1D4D92 #2768C5 #4D88DC #80AAE6

Accessibility & contrast

On white

5.42
#2768C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2768C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2768C5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2768C5#FFFFFF#000000##FFFFFF
##2768C51.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3471C8
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2768c5;
/* rgb */ color: rgb(39, 104, 197);
/* oklch */ color: oklch(52.8% 0.159 258.1);
Tailwind
colors: {
  custom: {
    50: '#7a92d7',
    500: '#2768c5',
    950: '#000000',
  },
}
SCSS
$custom: #2768c5;
$custom-light: #7a92d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2768c5",
  "rgb": {
    "r": 39,
    "g": 104,
    "b": 197
  },
  "hsl": {
    "h": 215.316,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.15944,
    "h": 258.1
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#2768C5
secondary
#CFAB79
accent
#A33EEA
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2768C5

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

Preview Lab → · Contrast checker → · Palette generator →

#2768C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva