#2557B5#2557B5

#2557B5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.159 H 261.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2557B5
RGBrgb(37, 87, 181)
HSLhsl(219, 66%, 43%)
HSVhsv(219, 80%, 71%)
CMYKcmyk(79.6%, 51.9%, 0%, 29%)
CIE-LABlab(38.80, 18.11, -54.58)
CIE-LCHlch(38.80, 57.51, 288.36°)
OKLaboklab(47.86% -0.0234 -0.1572)
OKLCHoklch(47.86% 0.159 261.5)
XYZxyz(12.5086, 10.5444, 45.0831)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557B5 #B58325
analogous
#259FB5 #2557B5 #3B25B5
triadic
#2557B5 #B52557 #57B525
tetradic
#2557B5 #B5259F #B58325 #25B53B
square
#2557B5 #B5259F #B58325 #25B53B
split-complementary
#2557B5 #B53B25 #9FB525
monochromatic
#10264F #1B3F82 #2557B5 #3F74D8 #7299E2

Accessibility & contrast

On white

6.75
#2557B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2557B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2557B5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557B5#FFFFFF#000000##FFFFFF
##2557B51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B8
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2557b5;
/* rgb */ color: rgb(37, 87, 181);
/* oklch */ color: oklch(47.9% 0.159 261.5);
Tailwind
colors: {
  custom: {
    50: '#7785cc',
    500: '#2557b5',
    950: '#000000',
  },
}
SCSS
$custom: #2557b5;
$custom-light: #7785cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2557b5",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 181
  },
  "hsl": {
    "h": 219.167,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.15894,
    "h": 261.5
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#2557B5
secondary
#C9A96D
accent
#AE3FE9
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2557B5

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

Preview Lab → · Contrast checker → · Palette generator →

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