#2557AA#2557AA

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

Color values

HEX#2557AA
RGBrgb(37, 87, 170)
HSLhsl(217, 64%, 41%)
HSVhsv(217, 78%, 67%)
CMYKcmyk(78.2%, 48.8%, 0%, 33.3%)
CIE-LABlab(38.04, 13.82, -49.31)
CIE-LCHlch(38.04, 51.21, 285.66°)
OKLaboklab(47.03% -0.0249 -0.1417)
OKLCHoklch(47.03% 0.144 260)
XYZxyz(11.4242, 10.1107, 39.3719)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557AA #AA7825
analogous
#2599AA #2557AA #3625AA
triadic
#2557AA #AA2557 #57AA25
tetradic
#2557AA #AA2599 #AA7825 #25AA36
square
#2557AA #AA2599 #AA7825 #25AA36
split-complementary
#2557AA #AA3625 #99AA25
monochromatic
#0F2445 #1A3D78 #2557AA #3873D4 #6B96DF

Accessibility & contrast

On white

6.95
#2557AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2557AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2557AA#FFFFFF#000000##FFFFFF
##2557AA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2557aa;
/* rgb */ color: rgb(37, 87, 170);
/* oklch */ color: oklch(47.0% 0.144 260.0);
Tailwind
colors: {
  custom: {
    50: '#7485c4',
    500: '#2557aa',
    950: '#000000',
  },
}
SCSS
$custom: #2557aa;
$custom-light: #7485c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2557aa",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 217.444,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4703,
    "c": 0.14388,
    "h": 260
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#2557AA
secondary
#C5A166
accent
#A941E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2557AA

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

Preview Lab → · Contrast checker → · Palette generator →

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