#2558A7#2558A7

#2558A7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.139 H 259.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2558A7
RGBrgb(37, 88, 167)
HSLhsl(216, 64%, 40%)
HSVhsv(216, 78%, 65%)
CMYKcmyk(77.8%, 47.3%, 0%, 34.5%)
CIE-LABlab(38.13, 11.99, -47.39)
CIE-LCHlch(38.13, 48.88, 284.20°)
OKLaboklab(47.04% -0.0262 -0.136)
OKLCHoklch(47.04% 0.139 259.1)
XYZxyz(11.2252, 10.1615, 37.9215)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558A7 #A77425
analogous
#2599A7 #2558A7 #3325A7
triadic
#2558A7 #A72558 #58A725
tetradic
#2558A7 #A72599 #A77425 #25A733
square
#2558A7 #A72599 #A77425 #25A733
split-complementary
#2558A7 #A73325 #99A725
monochromatic
#0F2343 #1A3E75 #2558A7 #3774D3 #6997DE

Accessibility & contrast

On white

6.92
#2558A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2558A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2558A7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558A7#FFFFFF#000000##FFFFFF
##2558A71.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#0954A5
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2558a7;
/* rgb */ color: rgb(37, 88, 167);
/* oklch */ color: oklch(47.0% 0.139 259.1);
Tailwind
colors: {
  custom: {
    50: '#7386c2',
    500: '#2558a7',
    950: '#000000',
  },
}
SCSS
$custom: #2558a7;
$custom-light: #7386c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2558a7",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 167
  },
  "hsl": {
    "h": 216.462,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.47036,
    "c": 0.13853,
    "h": 259.1
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#2558A7
secondary
#C49E64
accent
#A641E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2558A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2558A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva