#2557B1#2557B1

#2557B1 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.153 H 261.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2557B1
RGBrgb(37, 87, 177)
HSLhsl(219, 65%, 42%)
HSVhsv(219, 79%, 69%)
CMYKcmyk(79.1%, 50.8%, 0%, 30.6%)
CIE-LABlab(38.52, 16.55, -52.68)
CIE-LCHlch(38.52, 55.22, 287.44°)
OKLaboklab(47.55% -0.0239 -0.1516)
OKLCHoklch(47.55% 0.153 261)
XYZxyz(12.1041, 10.3826, 42.9526)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557B1 #B17F25
analogous
#259DB1 #2557B1 #3925B1
triadic
#2557B1 #B12557 #57B125
tetradic
#2557B1 #B1259D #B17F25 #25B139
square
#2557B1 #B1259D #B17F25 #25B139
split-complementary
#2557B1 #B13925 #9DB125
monochromatic
#10254C #1A3E7E #2557B1 #3D74D6 #6F98E1

Accessibility & contrast

On white

6.83
#2557B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2557B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2557B1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557B1#FFFFFF#000000##FFFFFF
##2557B11.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2557b1;
/* rgb */ color: rgb(37, 87, 177);
/* oklch */ color: oklch(47.6% 0.153 261.0);
Tailwind
colors: {
  custom: {
    50: '#7685c9',
    500: '#2557b1',
    950: '#000000',
  },
}
SCSS
$custom: #2557b1;
$custom-light: #7685c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2557b1",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 177
  },
  "hsl": {
    "h": 218.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47551,
    "c": 0.15349,
    "h": 261
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#2557B1
secondary
#C8A66A
accent
#AC3FE8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2557B1

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

Preview Lab → · Contrast checker → · Palette generator →

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