#2557AD#2557AD

#2557AD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.148 H 260.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2557AD
RGBrgb(37, 87, 173)
HSLhsl(218, 65%, 41%)
HSVhsv(218, 79%, 68%)
CMYKcmyk(78.6%, 49.7%, 0%, 32.2%)
CIE-LABlab(38.24, 14.99, -50.76)
CIE-LCHlch(38.24, 52.93, 286.46°)
OKLaboklab(47.25% -0.0245 -0.146)
OKLCHoklch(47.25% 0.148 260.5)
XYZxyz(11.7112, 10.2255, 40.8835)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557AD #AD7B25
analogous
#259BAD #2557AD #3725AD
triadic
#2557AD #AD2557 #57AD25
tetradic
#2557AD #AD259B #AD7B25 #25AD37
square
#2557AD #AD259B #AD7B25 #25AD37
split-complementary
#2557AD #AD3725 #9BAD25
monochromatic
#0F2448 #1A3E7B #2557AD #3A73D5 #6D97E0

Accessibility & contrast

On white

6.90
#2557AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2557AD#FFFFFF#000000##FFFFFF
##2557AD1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B0
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2557ad;
/* rgb */ color: rgb(37, 87, 173);
/* oklch */ color: oklch(47.3% 0.148 260.5);
Tailwind
colors: {
  custom: {
    50: '#7585c6',
    500: '#2557ad',
    950: '#000000',
  },
}
SCSS
$custom: #2557ad;
$custom-light: #7585c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2557ad",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 217.941,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.14802,
    "h": 260.5
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2557AD

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

Preview Lab → · Contrast checker → · Palette generator →

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