#2557BD#2557BD

#2557BD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.170 H 262.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2557BD
RGBrgb(37, 87, 189)
HSLhsl(220, 67%, 44%)
HSVhsv(220, 80%, 74%)
CMYKcmyk(80.4%, 54%, 0%, 25.9%)
CIE-LABlab(39.38, 21.21, -58.33)
CIE-LCHlch(39.38, 62.07, 289.99°)
OKLaboklab(48.48% -0.0226 -0.1682)
OKLCHoklch(48.48% 0.17 262.4)
XYZxyz(13.3531, 10.8822, 49.5310)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557BD #BD8B25
analogous
#25A3BD #2557BD #3F25BD
triadic
#2557BD #BD2557 #57BD25
tetradic
#2557BD #BD25A3 #BD8B25 #25BD3F
square
#2557BD #BD25A3 #BD8B25 #25BD3F
split-complementary
#2557BD #BD3F25 #A3BD25
monochromatic
#112857 #1B3F8A #2557BD #4576DB #789CE5

Accessibility & contrast

On white

6.61
#2557BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2557BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2557BD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557BD#FFFFFF#000000##FFFFFF
##2557BD1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2557bd;
/* rgb */ color: rgb(37, 87, 189);
/* oklch */ color: oklch(48.5% 0.170 262.4);
Tailwind
colors: {
  custom: {
    50: '#7885d2',
    500: '#2557bd',
    950: '#000000',
  },
}
SCSS
$custom: #2557bd;
$custom-light: #7885d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2557bd",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 220.263,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4848,
    "c": 0.16976,
    "h": 262.4
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#2557BD
secondary
#CCAE72
accent
#B13EEA
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2557BD

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

Preview Lab → · Contrast checker → · Palette generator →

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