#2557A3#2557A3

#2557A3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.5% C 0.134 H 258.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2557A3
RGBrgb(37, 87, 163)
HSLhsl(216, 63%, 39%)
HSVhsv(216, 77%, 64%)
CMYKcmyk(77.3%, 46.6%, 0%, 36.1%)
CIE-LABlab(37.58, 11.09, -45.89)
CIE-LCHlch(37.58, 47.21, 283.58°)
OKLaboklab(46.53% -0.0261 -0.1316)
OKLCHoklch(46.53% 0.134 258.8)
XYZxyz(10.7796, 9.8528, 35.9769)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557A3 #A37125
analogous
#2596A3 #2557A3 #3225A3
triadic
#2557A3 #A32557 #57A325
tetradic
#2557A3 #A32596 #A37125 #25A332
square
#2557A3 #A32596 #A37125 #25A332
split-complementary
#2557A3 #A33225 #96A325
monochromatic
#0E223F #1A3C71 #2557A3 #3472D1 #6695DC

Accessibility & contrast

On white

7.07
#2557A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2557A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2557A3
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557A3#FFFFFF#000000##FFFFFF
##2557A31.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA6
Deuteranopia (green-blind)
#1053A1
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2557a3;
/* rgb */ color: rgb(37, 87, 163);
/* oklch */ color: oklch(46.5% 0.134 258.8);
Tailwind
colors: {
  custom: {
    50: '#7285bf',
    500: '#2557a3',
    950: '#000000',
  },
}
SCSS
$custom: #2557a3;
$custom-light: #7285bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2557a3",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 163
  },
  "hsl": {
    "h": 216.19,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46525,
    "c": 0.13421,
    "h": 258.8
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#2557A3
secondary
#C29C62
accent
#A542E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2557A3

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

Preview Lab → · Contrast checker → · Palette generator →

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