#2557A4#2557A4

#2557A4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.136 H 259.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2557A4
RGBrgb(37, 87, 164)
HSLhsl(216, 63%, 39%)
HSVhsv(216, 77%, 64%)
CMYKcmyk(77.4%, 47%, 0%, 35.7%)
CIE-LABlab(37.64, 11.48, -46.38)
CIE-LCHlch(37.64, 47.78, 283.90°)
OKLaboklab(46.6% -0.0259 -0.1331)
OKLCHoklch(46.6% 0.136 259)
XYZxyz(10.8695, 9.8888, 36.4506)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557A4 #A47225
analogous
#2597A4 #2557A4 #3325A4
triadic
#2557A4 #A42557 #57A425
tetradic
#2557A4 #A42597 #A47225 #25A433
square
#2557A4 #A42597 #A47225 #25A433
split-complementary
#2557A4 #A43325 #97A425
monochromatic
#0E2240 #1A3D72 #2557A4 #3572D1 #6795DD

Accessibility & contrast

On white

7.05
#2557A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2557A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2557A4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557A4#FFFFFF#000000##FFFFFF
##2557A41.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#0D53A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2557a4;
/* rgb */ color: rgb(37, 87, 164);
/* oklch */ color: oklch(46.6% 0.136 259.0);
Tailwind
colors: {
  custom: {
    50: '#7385bf',
    500: '#2557a4',
    950: '#000000',
  },
}
SCSS
$custom: #2557a4;
$custom-light: #7385bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2557a4",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 216.378,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46596,
    "c": 0.13559,
    "h": 259
  },
  "luminance": 0.0989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2557A4

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

Preview Lab → · Contrast checker → · Palette generator →

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