#2557B0#2557B0

#2557B0 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.152 H 260.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2557B0
RGBrgb(37, 87, 176)
HSLhsl(218, 65%, 42%)
HSVhsv(218, 79%, 69%)
CMYKcmyk(79%, 50.6%, 0%, 31%)
CIE-LABlab(38.45, 16.16, -52.20)
CIE-LCHlch(38.45, 54.65, 287.20°)
OKLaboklab(47.48% -0.024 -0.1502)
OKLCHoklch(47.48% 0.152 260.9)
XYZxyz(12.0048, 10.3429, 42.4296)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557B0 #B07E25
analogous
#259DB0 #2557B0 #3825B0
triadic
#2557B0 #B02557 #57B025
tetradic
#2557B0 #B0259D #B07E25 #25B038
square
#2557B0 #B0259D #B07E25 #25B038
split-complementary
#2557B0 #B03825 #9DB025
monochromatic
#10254B #1A3E7D #2557B0 #3C74D6 #6F98E1

Accessibility & contrast

On white

6.84
#2557B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2557B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2557B0
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557B0#FFFFFF#000000##FFFFFF
##2557B01.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B3
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2557b0;
/* rgb */ color: rgb(37, 87, 176);
/* oklch */ color: oklch(47.5% 0.152 260.9);
Tailwind
colors: {
  custom: {
    50: '#7585c8',
    500: '#2557b0',
    950: '#000000',
  },
}
SCSS
$custom: #2557b0;
$custom-light: #7585c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2557b0",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 176
  },
  "hsl": {
    "h": 218.417,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.15212,
    "h": 260.9
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#2557B0
secondary
#C7A66A
accent
#AC40E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2557B0

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

Preview Lab → · Contrast checker → · Palette generator →

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