#2557A8#2557A8

#2557A8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.141 H 259.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2557A8
RGBrgb(37, 87, 168)
HSLhsl(217, 64%, 40%)
HSVhsv(217, 78%, 66%)
CMYKcmyk(78%, 48.2%, 0%, 34.1%)
CIE-LABlab(37.91, 13.04, -48.34)
CIE-LCHlch(37.91, 50.07, 285.10°)
OKLaboklab(46.88% -0.0252 -0.1388)
OKLCHoklch(46.88% 0.141 259.7)
XYZxyz(11.2365, 10.0356, 38.3831)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557A8 #A87625
analogous
#2598A8 #2557A8 #3425A8
triadic
#2557A8 #A82557 #57A825
tetradic
#2557A8 #A82598 #A87625 #25A834
square
#2557A8 #A82598 #A87625 #25A834
split-complementary
#2557A8 #A83425 #98A825
monochromatic
#0F2344 #1A3D76 #2557A8 #3773D3 #6996DE

Accessibility & contrast

On white

6.98
#2557A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2557A8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2557A8#FFFFFF#000000##FFFFFF
##2557A81.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AB
Deuteranopia (green-blind)
#0054A6
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2557a8;
/* rgb */ color: rgb(37, 87, 168);
/* oklch */ color: oklch(46.9% 0.141 259.7);
Tailwind
colors: {
  custom: {
    50: '#7385c2',
    500: '#2557a8',
    950: '#000000',
  },
}
SCSS
$custom: #2557a8;
$custom-light: #7385c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2557a8",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 168
  },
  "hsl": {
    "h": 217.099,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46884,
    "c": 0.14112,
    "h": 259.7
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2557A8

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

Preview Lab → · Contrast checker → · Palette generator →

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