#2557AC#2557AC

#2557AC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.147 H 260.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2557AC
RGBrgb(37, 87, 172)
HSLhsl(218, 65%, 41%)
HSVhsv(218, 78%, 67%)
CMYKcmyk(78.5%, 49.4%, 0%, 32.5%)
CIE-LABlab(38.18, 14.60, -50.28)
CIE-LCHlch(38.18, 52.36, 286.20°)
OKLaboklab(47.18% -0.0246 -0.1446)
OKLCHoklch(47.18% 0.147 260.3)
XYZxyz(11.6148, 10.1869, 40.3759)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557AC #AC7A25
analogous
#259AAC #2557AC #3725AC
triadic
#2557AC #AC2557 #57AC25
tetradic
#2557AC #AC259A #AC7A25 #25AC37
square
#2557AC #AC259A #AC7A25 #25AC37
split-complementary
#2557AC #AC3725 #9AAC25
monochromatic
#0F2447 #1A3E7A #2557AC #3A73D5 #6C97DF

Accessibility & contrast

On white

6.91
#2557AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2557AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2557AC#FFFFFF#000000##FFFFFF
##2557AC1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2557ac;
/* rgb */ color: rgb(37, 87, 172);
/* oklch */ color: oklch(47.2% 0.147 260.3);
Tailwind
colors: {
  custom: {
    50: '#7485c5',
    500: '#2557ac',
    950: '#000000',
  },
}
SCSS
$custom: #2557ac;
$custom-light: #7485c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2557ac",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 217.778,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.14664,
    "h": 260.3
  },
  "luminance": 0.10188
}

Semantic roles & 50–950 ramp

primary
#2557AC
secondary
#C6A367
accent
#AA40E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2557AC

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

Preview Lab → · Contrast checker → · Palette generator →

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