#2562C6#2562C6

#2562C6 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.5% C 0.168 H 260.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2562C6
RGBrgb(37, 98, 198)
HSLhsl(217, 69%, 46%)
HSVhsv(217, 81%, 78%)
CMYKcmyk(81.3%, 50.5%, 0%, 22.4%)
CIE-LABlab(43.07, 17.50, -57.59)
CIE-LCHlch(43.07, 60.19, 286.90°)
OKLaboklab(51.49% -0.0293 -0.1658)
OKLCHoklch(51.49% 0.168 260)
XYZxyz(15.3200, 13.2040, 55.1563)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2562C6 #C68925
analogous
#25B2C6 #2562C6 #3825C6
triadic
#2562C6 #C62562 #62C625
tetradic
#2562C6 #C625B2 #C68925 #25C638
square
#2562C6 #C625B2 #C68925 #25C638
split-complementary
#2562C6 #C63825 #B2C625
monochromatic
#122F5F #1B4892 #2562C6 #4B82DD #7EA6E7

Accessibility & contrast

On white

5.77
#2562C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2562C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2562C6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2562C6#FFFFFF#000000##FFFFFF
##2562C61.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226DCA
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2562c6;
/* rgb */ color: rgb(37, 98, 198);
/* oklch */ color: oklch(51.5% 0.168 260.0);
Tailwind
colors: {
  custom: {
    50: '#7a8dd8',
    500: '#2562c6',
    950: '#000000',
  },
}
SCSS
$custom: #2562c6;
$custom-light: #7a8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#2562c6",
  "rgb": {
    "r": 37,
    "g": 98,
    "b": 198
  },
  "hsl": {
    "h": 217.267,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.16842,
    "h": 260
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#2562C6
secondary
#CFAE77
accent
#A93CEB
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2562C6

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

Preview Lab → · Contrast checker → · Palette generator →

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