#2559E2#2559E2

#2559E2 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.0% C 0.215 H 264.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2559E2
RGBrgb(37, 89, 226)
HSLhsl(223, 77%, 52%)
HSVhsv(223, 84%, 89%)
CMYKcmyk(83.6%, 60.6%, 0%, 11.4%)
CIE-LABlab(42.80, 33.98, -74.06)
CIE-LCHlch(42.80, 81.48, 294.64°)
OKLaboklab(51.96% -0.0218 -0.2144)
OKLCHoklch(51.96% 0.215 264.2)
XYZxyz(18.0579, 13.0268, 73.4994)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559E2 #E2AE25
analogous
#25B8E2 #2559E2 #5025E2
triadic
#2559E2 #E22559 #59E225
tetradic
#2559E2 #E225B8 #E2AE25 #25E250
square
#2559E2 #E225B8 #E2AE25 #25E250
split-complementary
#2559E2 #E25025 #B8E225
monochromatic
#112E7C #1842B2 #2559E2 #5B82E9 #91ABF0

Accessibility & contrast

On white

5.82
#2559E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2559E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559E2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559E2#FFFFFF#000000##FFFFFF
##2559E21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2559e2;
/* rgb */ color: rgb(37, 89, 226);
/* oklch */ color: oklch(52.0% 0.215 264.2);
Tailwind
colors: {
  custom: {
    50: '#8187ec',
    500: '#2559e2',
    950: '#000000',
  },
}
SCSS
$custom: #2559e2;
$custom-light: #8187ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2559e2",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 226
  },
  "hsl": {
    "h": 223.492,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.21548,
    "h": 264.2
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#2559E2
secondary
#DBC488
accent
#BF35F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #2559E2

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

Preview Lab → · Contrast checker → · Palette generator →

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