#2562BD#2562BD

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

Color values

HEX#2562BD
RGBrgb(37, 98, 189)
HSLhsl(216, 67%, 44%)
HSVhsv(216, 80%, 74%)
CMYKcmyk(80.4%, 48.1%, 0%, 25.9%)
CIE-LABlab(42.46, 14.02, -53.35)
CIE-LCHlch(42.46, 55.16, 284.72°)
OKLaboklab(50.83% -0.0306 -0.1534)
OKLCHoklch(50.83% 0.156 258.7)
XYZxyz(14.3126, 12.8011, 49.8508)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2562BD #BD8025
analogous
#25AEBD #2562BD #3425BD
triadic
#2562BD #BD2562 #62BD25
tetradic
#2562BD #BD25AE #BD8025 #25BD34
square
#2562BD #BD25AE #BD8025 #25BD34
split-complementary
#2562BD #BD3425 #AEBD25
monochromatic
#112D57 #1B478A #2562BD #4581DB #78A3E5

Accessibility & contrast

On white

5.90
#2562BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2562BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2562BD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2562BD#FFFFFF#000000##FFFFFF
##2562BD1.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)
#2E6CC0
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2562bd;
/* rgb */ color: rgb(37, 98, 189);
/* oklch */ color: oklch(50.8% 0.156 258.7);
Tailwind
colors: {
  custom: {
    50: '#788ed1',
    500: '#2562bd',
    950: '#000000',
  },
}
SCSS
$custom: #2562bd;
$custom-light: #788ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2562bd",
  "rgb": {
    "r": 37,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 215.921,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.1564,
    "h": 258.7
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#2562BD
secondary
#CCA872
accent
#A53EEA
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2562BD

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

Preview Lab → · Contrast checker → · Palette generator →

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