#2562BA#2562BA

#2562BA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.152 H 258.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2562BA
RGBrgb(37, 98, 186)
HSLhsl(215, 67%, 44%)
HSVhsv(215, 80%, 73%)
CMYKcmyk(80.1%, 47.3%, 0%, 27.1%)
CIE-LABlab(42.27, 12.85, -51.92)
CIE-LCHlch(42.27, 53.49, 283.91°)
OKLaboklab(50.62% -0.0311 -0.1492)
OKLCHoklch(50.62% 0.152 258.2)
XYZxyz(13.9903, 12.6722, 48.1535)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2562BA #BA7D25
analogous
#25ACBA #2562BA #3225BA
triadic
#2562BA #BA2562 #62BA25
tetradic
#2562BA #BA25AC #BA7D25 #25BA32
square
#2562BA #BA25AC #BA7D25 #25BA32
split-complementary
#2562BA #BA3225 #ACBA25
monochromatic
#112C54 #1B4787 #2562BA #4380DA #76A3E4

Accessibility & contrast

On white

5.94
#2562BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2562BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2562BA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2562BA#FFFFFF#000000##FFFFFF
##2562BA1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2562ba;
/* rgb */ color: rgb(37, 98, 186);
/* oklch */ color: oklch(50.6% 0.152 258.2);
Tailwind
colors: {
  custom: {
    50: '#778ecf',
    500: '#2562ba',
    950: '#000000',
  },
}
SCSS
$custom: #2562ba;
$custom-light: #778ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2562ba",
  "rgb": {
    "r": 37,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 215.436,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50619,
    "c": 0.15237,
    "h": 258.2
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#2562BA
secondary
#CBA670
accent
#A33EEA
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2562BA

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

Preview Lab → · Contrast checker → · Palette generator →

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