#2557A5#2557A5

#2557A5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.137 H 259.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2557A5
RGBrgb(37, 87, 165)
HSLhsl(217, 63%, 40%)
HSVhsv(217, 78%, 65%)
CMYKcmyk(77.6%, 47.3%, 0%, 35.3%)
CIE-LABlab(37.71, 11.87, -46.88)
CIE-LCHlch(37.71, 48.35, 284.21°)
OKLaboklab(46.67% -0.0257 -0.1345)
OKLCHoklch(46.67% 0.137 259.2)
XYZxyz(10.9602, 9.9251, 36.9281)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557A5 #A57325
analogous
#2597A5 #2557A5 #3325A5
triadic
#2557A5 #A52557 #57A525
tetradic
#2557A5 #A52597 #A57325 #25A533
square
#2557A5 #A52597 #A57325 #25A533
split-complementary
#2557A5 #A53325 #97A525
monochromatic
#0F2241 #1A3D73 #2557A5 #3572D2 #6795DD

Accessibility & contrast

On white

7.03
#2557A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2557A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2557A5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557A5#FFFFFF#000000##FFFFFF
##2557A51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA8
Deuteranopia (green-blind)
#0A53A3
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2557a5;
/* rgb */ color: rgb(37, 87, 165);
/* oklch */ color: oklch(46.7% 0.137 259.2);
Tailwind
colors: {
  custom: {
    50: '#7385c0',
    500: '#2557a5',
    950: '#000000',
  },
}
SCSS
$custom: #2557a5;
$custom-light: #7385c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2557a5",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 165
  },
  "hsl": {
    "h": 216.563,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46668,
    "c": 0.13698,
    "h": 259.2
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#2557A5
secondary
#C39D63
accent
#A641E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2557A5

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

Preview Lab → · Contrast checker → · Palette generator →

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