#2556E2#2556E2

#2556E2 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.4% C 0.219 H 264.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2556E2
RGBrgb(37, 86, 226)
HSLhsl(224, 77%, 52%)
HSVhsv(224, 84%, 89%)
CMYKcmyk(83.6%, 61.9%, 0%, 11.4%)
CIE-LABlab(42.06, 35.88, -75.28)
CIE-LCHlch(42.06, 83.39, 295.49°)
OKLaboklab(51.4% -0.0203 -0.218)
OKLCHoklch(51.4% 0.219 264.7)
XYZxyz(17.8133, 12.5377, 73.4179)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2556E2 #E2B125
analogous
#25B5E2 #2556E2 #5325E2
triadic
#2556E2 #E22556 #56E225
tetradic
#2556E2 #E225B5 #E2B125 #25E253
square
#2556E2 #E225B5 #E2B125 #25E253
split-complementary
#2556E2 #E25325 #B5E225
monochromatic
#112C7C #1840B2 #2556E2 #5B80E9 #91AAF0

Accessibility & contrast

On white

5.99
#2556E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2556E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2556E2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2556E2#FFFFFF#000000##FFFFFF
##2556E21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#005BDF
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2556e2;
/* rgb */ color: rgb(37, 86, 226);
/* oklch */ color: oklch(51.4% 0.219 264.7);
Tailwind
colors: {
  custom: {
    50: '#8285ec',
    500: '#2556e2',
    950: '#000000',
  },
}
SCSS
$custom: #2556e2;
$custom-light: #8285ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2556e2",
  "rgb": {
    "r": 37,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 224.444,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.21893,
    "h": 264.7
  },
  "luminance": 0.1254
}

Semantic roles & 50–950 ramp

primary
#2556E2
secondary
#DBC588
accent
#C235F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #2556E2

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

Preview Lab → · Contrast checker → · Palette generator →

#2556E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva