#2555E2#2555E2

#2555E2 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.2% C 0.220 H 264.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2555E2
RGBrgb(37, 85, 226)
HSLhsl(225, 77%, 52%)
HSVhsv(225, 84%, 89%)
CMYKcmyk(83.6%, 62.4%, 0%, 11.4%)
CIE-LABlab(41.81, 36.52, -75.68)
CIE-LCHlch(41.81, 84.03, 295.76°)
OKLaboklab(51.22% -0.0198 -0.2192)
OKLCHoklch(51.22% 0.22 264.8)
XYZxyz(17.7340, 12.3791, 73.3915)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2555E2 #E2B225
analogous
#25B4E2 #2555E2 #5425E2
triadic
#2555E2 #E22555 #55E225
tetradic
#2555E2 #E225B4 #E2B225 #25E254
square
#2555E2 #E225B4 #E2B225 #25E254
split-complementary
#2555E2 #E25425 #B4E225
monochromatic
#112C7C #183FB2 #2555E2 #5B7FE9 #91A9F0

Accessibility & contrast

On white

6.04
#2555E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2555E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2555E2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2555E2#FFFFFF#000000##FFFFFF
##2555E21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2555e2;
/* rgb */ color: rgb(37, 85, 226);
/* oklch */ color: oklch(51.2% 0.220 264.8);
Tailwind
colors: {
  custom: {
    50: '#8284ec',
    500: '#2555e2',
    950: '#000000',
  },
}
SCSS
$custom: #2555e2;
$custom-light: #8284ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2555e2",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 224.762,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.22007,
    "h": 264.8
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#2555E2
secondary
#DBC688
accent
#C335F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0A16
muted
#7D7C84

Preview Lab

Preview with #2555E2

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

Preview Lab → · Contrast checker → · Palette generator →

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