#2558E2#2558E2

#2558E2 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 51.8% C 0.217 H 264.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2558E2
RGBrgb(37, 88, 226)
HSLhsl(224, 77%, 52%)
HSVhsv(224, 84%, 89%)
CMYKcmyk(83.6%, 61.1%, 0%, 11.4%)
CIE-LABlab(42.55, 34.61, -74.47)
CIE-LCHlch(42.55, 82.12, 294.93°)
OKLaboklab(51.77% -0.0213 -0.2156)
OKLCHoklch(51.77% 0.217 264.4)
XYZxyz(17.9753, 12.8615, 73.4719)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558E2 #E2AF25
analogous
#25B6E2 #2558E2 #5125E2
triadic
#2558E2 #E22558 #58E225
tetradic
#2558E2 #E225B6 #E2AF25 #25E251
square
#2558E2 #E225B6 #E2AF25 #25E251
split-complementary
#2558E2 #E25125 #B6E225
monochromatic
#112E7C #1841B2 #2558E2 #5B81E9 #91ABF0

Accessibility & contrast

On white

5.88
#2558E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2558E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2558E2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558E2#FFFFFF#000000##FFFFFF
##2558E21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2558e2;
/* rgb */ color: rgb(37, 88, 226);
/* oklch */ color: oklch(51.8% 0.217 264.4);
Tailwind
colors: {
  custom: {
    50: '#8286ec',
    500: '#2558e2',
    950: '#000000',
  },
}
SCSS
$custom: #2558e2;
$custom-light: #8286ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2558e2",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 223.81,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.21664,
    "h": 264.4
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2558E2

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

Preview Lab → · Contrast checker → · Palette generator →

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