#2560C6#2560C6

#2560C6 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.171 H 260.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2560C6
RGBrgb(37, 96, 198)
HSLhsl(218, 69%, 46%)
HSVhsv(218, 81%, 78%)
CMYKcmyk(81.3%, 51.5%, 0%, 22.4%)
CIE-LABlab(42.51, 18.80, -58.49)
CIE-LCHlch(42.51, 61.44, 287.82°)
OKLaboklab(51.07% -0.0279 -0.1685)
OKLCHoklch(51.07% 0.171 260.6)
XYZxyz(15.1352, 12.8344, 55.0947)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2560C6 #C68B25
analogous
#25B0C6 #2560C6 #3A25C6
triadic
#2560C6 #C62560 #60C625
tetradic
#2560C6 #C625B0 #C68B25 #25C63A
square
#2560C6 #C625B0 #C68B25 #25C63A
split-complementary
#2560C6 #C63A25 #B0C625
monochromatic
#122E5F #1B4792 #2560C6 #4B81DD #7EA5E7

Accessibility & contrast

On white

5.89
#2560C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2560C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2560C6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2560C6#FFFFFF#000000##FFFFFF
##2560C61.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6CCA
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2560c6;
/* rgb */ color: rgb(37, 96, 198);
/* oklch */ color: oklch(51.1% 0.171 260.6);
Tailwind
colors: {
  custom: {
    50: '#7a8cd8',
    500: '#2560c6',
    950: '#000000',
  },
}
SCSS
$custom: #2560c6;
$custom-light: #7a8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#2560c6",
  "rgb": {
    "r": 37,
    "g": 96,
    "b": 198
  },
  "hsl": {
    "h": 218.012,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.17082,
    "h": 260.6
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#2560C6
secondary
#CFAF77
accent
#AB3CEB
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2560C6

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

Preview Lab → · Contrast checker → · Palette generator →

#2560C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva