#2557AE#2557AE

#2557AE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.149 H 260.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2557AE
RGBrgb(37, 87, 174)
HSLhsl(218, 65%, 41%)
HSVhsv(218, 79%, 68%)
CMYKcmyk(78.7%, 50%, 0%, 31.8%)
CIE-LABlab(38.31, 15.38, -51.24)
CIE-LCHlch(38.31, 53.50, 286.71°)
OKLaboklab(47.33% -0.0243 -0.1474)
OKLCHoklch(47.33% 0.149 260.6)
XYZxyz(11.8084, 10.2643, 41.3951)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557AE #AE7C25
analogous
#259CAE #2557AE #3825AE
triadic
#2557AE #AE2557 #57AE25
tetradic
#2557AE #AE259C #AE7C25 #25AE38
square
#2557AE #AE259C #AE7C25 #25AE38
split-complementary
#2557AE #AE3825 #9CAE25
monochromatic
#102549 #1A3E7C #2557AE #3B73D5 #6D97E0

Accessibility & contrast

On white

6.88
#2557AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2557AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2557AE#FFFFFF#000000##FFFFFF
##2557AE1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2557ae;
/* rgb */ color: rgb(37, 87, 174);
/* oklch */ color: oklch(47.3% 0.149 260.6);
Tailwind
colors: {
  custom: {
    50: '#7585c7',
    500: '#2557ae',
    950: '#000000',
  },
}
SCSS
$custom: #2557ae;
$custom-light: #7585c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2557ae",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 218.102,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.14938,
    "h": 260.6
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#2557AE
secondary
#C6A468
accent
#AB40E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2557AE

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

Preview Lab → · Contrast checker → · Palette generator →

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