#2557A6#2557A6

#2557A6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.138 H 259.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2557A6
RGBrgb(37, 87, 166)
HSLhsl(217, 64%, 40%)
HSVhsv(217, 78%, 65%)
CMYKcmyk(77.7%, 47.6%, 0%, 34.9%)
CIE-LABlab(37.77, 12.26, -47.37)
CIE-LCHlch(37.77, 48.93, 284.51°)
OKLaboklab(46.74% -0.0256 -0.136)
OKLCHoklch(46.74% 0.138 259.4)
XYZxyz(11.0516, 9.9616, 37.4093)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557A6 #A67425
analogous
#2598A6 #2557A6 #3325A6
triadic
#2557A6 #A62557 #57A625
tetradic
#2557A6 #A62598 #A67425 #25A633
square
#2557A6 #A62598 #A67425 #25A633
split-complementary
#2557A6 #A63325 #98A625
monochromatic
#0F2342 #1A3D74 #2557A6 #3673D2 #6896DD

Accessibility & contrast

On white

7.02
#2557A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2557A6
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557A6#FFFFFF#000000##FFFFFF
##2557A61.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA9
Deuteranopia (green-blind)
#0653A4
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2557a6;
/* rgb */ color: rgb(37, 87, 166);
/* oklch */ color: oklch(46.7% 0.138 259.4);
Tailwind
colors: {
  custom: {
    50: '#7385c1',
    500: '#2557a6',
    950: '#000000',
  },
}
SCSS
$custom: #2557a6;
$custom-light: #7385c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2557a6",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 166
  },
  "hsl": {
    "h": 216.744,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4674,
    "c": 0.13836,
    "h": 259.4
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#2557A6
secondary
#C39E64
accent
#A641E7
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2557A6

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

Preview Lab → · Contrast checker → · Palette generator →

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