#2557A9#2557A9

#2557A9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.142 H 259.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2557A9
RGBrgb(37, 87, 169)
HSLhsl(217, 64%, 40%)
HSVhsv(217, 78%, 66%)
CMYKcmyk(78.1%, 48.5%, 0%, 33.7%)
CIE-LABlab(37.97, 13.43, -48.83)
CIE-LCHlch(37.97, 50.64, 285.38°)
OKLaboklab(46.96% -0.0251 -0.1403)
OKLCHoklch(46.96% 0.143 259.9)
XYZxyz(11.3300, 10.0730, 38.8756)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557A9 #A97725
analogous
#2599A9 #2557A9 #3525A9
triadic
#2557A9 #A92557 #57A925
tetradic
#2557A9 #A92599 #A97725 #25A935
square
#2557A9 #A92599 #A97725 #25A935
split-complementary
#2557A9 #A93525 #99A925
monochromatic
#0F2345 #1A3D77 #2557A9 #3873D3 #6A96DE

Accessibility & contrast

On white

6.97
#2557A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2557A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2557A9
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557A9#FFFFFF#000000##FFFFFF
##2557A91.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AC
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2557a9;
/* rgb */ color: rgb(37, 87, 169);
/* oklch */ color: oklch(47.0% 0.142 259.9);
Tailwind
colors: {
  custom: {
    50: '#7485c3',
    500: '#2557a9',
    950: '#000000',
  },
}
SCSS
$custom: #2557a9;
$custom-light: #7485c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2557a9",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 169
  },
  "hsl": {
    "h": 217.273,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46957,
    "c": 0.1425,
    "h": 259.9
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#2557A9
secondary
#C4A065
accent
#A841E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2557A9

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

Preview Lab → · Contrast checker → · Palette generator →

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