#2557E2#2557E2

#2557E2 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.6% C 0.218 H 264.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2557E2
RGBrgb(37, 87, 226)
HSLhsl(224, 77%, 52%)
HSVhsv(224, 84%, 89%)
CMYKcmyk(83.6%, 61.5%, 0%, 11.4%)
CIE-LABlab(42.31, 35.25, -74.87)
CIE-LCHlch(42.31, 82.76, 295.21°)
OKLaboklab(51.59% -0.0208 -0.2168)
OKLCHoklch(51.59% 0.218 264.5)
XYZxyz(17.8937, 12.6985, 73.4447)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557E2 #E2B025
analogous
#25B6E2 #2557E2 #5225E2
triadic
#2557E2 #E22557 #57E225
tetradic
#2557E2 #E225B6 #E2B025 #25E252
square
#2557E2 #E225B6 #E2B025 #25E252
split-complementary
#2557E2 #E25225 #B6E225
monochromatic
#112D7C #1841B2 #2557E2 #5B81E9 #91AAF0

Accessibility & contrast

On white

5.93
#2557E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2557E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2557E2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557E2#FFFFFF#000000##FFFFFF
##2557E21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2557e2;
/* rgb */ color: rgb(37, 87, 226);
/* oklch */ color: oklch(51.6% 0.218 264.5);
Tailwind
colors: {
  custom: {
    50: '#8286ec',
    500: '#2557e2',
    950: '#000000',
  },
}
SCSS
$custom: #2557e2;
$custom-light: #8286ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2557e2",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 224.127,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51585,
    "c": 0.21779,
    "h": 264.5
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2557E2

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

Preview Lab → · Contrast checker → · Palette generator →

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