#2557BE#2557BE

#2557BE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.171 H 262.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2557BE
RGBrgb(37, 87, 190)
HSLhsl(220, 67%, 45%)
HSVhsv(220, 81%, 75%)
CMYKcmyk(80.5%, 54.2%, 0%, 25.5%)
CIE-LABlab(39.46, 21.60, -58.80)
CIE-LCHlch(39.46, 62.64, 290.17°)
OKLaboklab(48.56% -0.0225 -0.1696)
OKLCHoklch(48.56% 0.171 262.5)
XYZxyz(13.4621, 10.9258, 50.1046)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2557BE #BE8C25
analogous
#25A4BE #2557BE #3F25BE
triadic
#2557BE #BE2557 #57BE25
tetradic
#2557BE #BE25A4 #BE8C25 #25BE3F
square
#2557BE #BE25A4 #BE8C25 #25BE3F
split-complementary
#2557BE #BE3F25 #A4BE25
monochromatic
#112858 #1B408B #2557BE #4576DB #799CE5

Accessibility & contrast

On white

6.59
#2557BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2557BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2557BE#FFFFFF#000000##FFFFFF
##2557BE1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2557be;
/* rgb */ color: rgb(37, 87, 190);
/* oklch */ color: oklch(48.6% 0.171 262.5);
Tailwind
colors: {
  custom: {
    50: '#7985d2',
    500: '#2557be',
    950: '#000000',
  },
}
SCSS
$custom: #2557be;
$custom-light: #7985d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2557be",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 220.392,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48559,
    "c": 0.17109,
    "h": 262.5
  },
  "luminance": 0.10927
}

Semantic roles & 50–950 ramp

primary
#2557BE
secondary
#CDAF72
accent
#B23EEA
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2557BE

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

Preview Lab → · Contrast checker → · Palette generator →

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